Commit 1924f25
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>1 parent 3bbed16 commit 1924f25
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1121 | 1121 | | |
1122 | 1122 | | |
1123 | 1123 | | |
1124 | | - | |
1125 | | - | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1126 | 1128 | | |
1127 | 1129 | | |
1128 | 1130 | | |
| |||
6572 | 6574 | | |
6573 | 6575 | | |
6574 | 6576 | | |
| 6577 | + | |
6575 | 6578 | | |
6576 | 6579 | | |
6577 | 6580 | | |
| |||
0 commit comments