crypto: minimize RSA public exponent metadata · nodejs/node@44a2965 · GitHub
Skip to content

Commit 44a2965

Browse files
panvaaduh95
authored andcommitted
crypto: minimize RSA public exponent metadata
Omit leading zero octets from generated CryptoKey publicExponent values, matching the BigInteger representation. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: #66237 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent 2f3e6df commit 44a2965

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

‎lib/internal/crypto/rsa.js‎

Lines changed: 9 additions & 1 deletion
Lines changed: 26 additions & 0 deletions

0 commit comments

Comments
 (0)