Commit acc52ef
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 43bf39c commit acc52efCopy full SHA for acc52ef
1 file changed
+5-2Lines changed: 5 additions & 2 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+5-2Lines changed: 5 additions & 2 deletions
- Display the source diff
- Display the rich diff
| 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