Commit eb54e70
doc: clarify diffieHellman.generateKeys recomputes same key
Clarify that calling generateKeys() after a private key has been
set recomputes the same public key deterministically, rather than
implying the public key changes. The public key is fully determined
by the private key, so the result is identical unless the private
key was changed via setPrivateKey().
Fixes: #56990
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR-URL: #62205
Fixes: #56990
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>1 parent 53b8d3c commit eb54e70
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
1392 | | - | |
1393 | | - | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
1394 | 1396 | | |
1395 | 1397 | | |
1396 | 1398 | | |
| |||
6936 | 6938 | | |
6937 | 6939 | | |
6938 | 6940 | | |
| 6941 | + | |
6939 | 6942 | | |
6940 | 6943 | | |
6941 | 6944 | | |
| |||
0 commit comments