bitwiseshiftleft / sjcl

Stanford Javascript Crypto Library
http://bitwiseshiftleft.github.com/sjcl/
Other
7.18k stars 986 forks source link

generator isn't seeded #397

Open WangManAndroid opened 5 years ago

WangManAndroid commented 5 years ago

const sjcl=require('sjcl-all') var keys1 = sjcl.ecc.elGamal.generateKeys(256); provsionerKey=keys1.pub.I.x.toString().slice(2)+keys1.pub.I.y.toString().slice(2)

dioptre commented 4 years ago

This is still an issue :/

dioptre commented 4 years ago

Tried repeating the test and it works with entropy: https://github.com/bitwiseshiftleft/sjcl/blob/c1beeeee97c905e7c2da13e02308b46048f59437/test/ecc_conv.js