Skip to content

Commit 3cf9f68

Browse files
save file
1 parent 675b2a5 commit 3cf9f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/25-12-19/diffie-hellman/ex/diffie-hellman.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
console.log('bob sends',B);
2121
var alice_secret = dh.power(B,alice,p);
2222
var bob_secret = dh.power(A,bob,p)
23-
console.log('secret',alice_secret);
23+
console.log('shared secret',alice_secret);
2424
//console.log('secret,bob_secret);
2525
console.log(alice_secret==bob_secret);
2626

0 commit comments

Comments
 (0)