Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7d70e39

Browse filesBrowse files
Fix issue probably-meant-fstring found at https://codereview.doctor (#864)
1 parent 5f1a786 commit 7d70e39
Copy full SHA for 7d70e39

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎algorithms/maths/diffie_hellman_key_exchange.py

Copy file name to clipboardExpand all lines: algorithms/maths/diffie_hellman_key_exchange.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,6 @@ def diffie_hellman_key_exchange(a, p, option = None):
179179
a_sh_k = alice_shared_key(b_pu_k, a_pr_k, p)
180180
b_sh_k = bob_shared_key(a_pu_k, b_pr_k, p)
181181
print (f"Shared key calculated by Alice = {a_sh_k}")
182-
print ("Shared key calculated by Bob = {b_sh_k}")
182+
print (f"Shared key calculated by Bob = {b_sh_k}")
183183

184184
return a_sh_k == b_sh_k

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.