102 matches found
sm-crypto: Predictable SM2 key generation in Node.js: default RNG uses Math.random + wall clock
Summary sm-crypto npm package 0.4.0, the latest release, published 2026-01-20 generates SM2 private keys and signing ephemeral scalars from a single module-wide RNG instance src/sm2/utils.js: const rng = new SecureRandom. SecureRandom is jsbn's PRNG, which seeds an ARC4 stream from...
9.1CVSS5.9AI score
SaveExploits0References3Affected Software1
20