Skip to content

Commit

Permalink
Fix issue probably-meant-fstring found at https://codereview.doctor (k…
Browse files Browse the repository at this point in the history
  • Loading branch information
code-review-doctor authored Jun 14, 2022
1 parent 5f1a786 commit 7d70e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/maths/diffie_hellman_key_exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@ def diffie_hellman_key_exchange(a, p, option = None):
a_sh_k = alice_shared_key(b_pu_k, a_pr_k, p)
b_sh_k = bob_shared_key(a_pu_k, b_pr_k, p)
print (f"Shared key calculated by Alice = {a_sh_k}")
print ("Shared key calculated by Bob = {b_sh_k}")
print (f"Shared key calculated by Bob = {b_sh_k}")

return a_sh_k == b_sh_k

0 comments on commit 7d70e39

Please sign in to comment.