Commit 9a3a190
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 ef7ffce commit 9a3a190Copy full SHA for 9a3a190
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 |
|---|---|---|
| ||
1393 | 1393 | |
1394 | 1394 | |
1395 | 1395 | |
1396 | | - |
1397 | | - |
| 1396 | + |
| 1397 | + |
| 1398 | + |
| 1399 | + |
1398 | 1400 | |
1399 | 1401 | |
1400 | 1402 | |
| ||
6907 | 6909 | |
6908 | 6910 | |
6909 | 6911 | |
| 6912 | + |
6910 | 6913 | |
6911 | 6914 | |
6912 | 6915 | |
|
0 commit comments