Open WangManAndroid opened 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)
This is still an issue :/
Tried repeating the test and it works with entropy: https://github.com/bitwiseshiftleft/sjcl/blob/c1beeeee97c905e7c2da13e02308b46048f59437/test/ecc_conv.js
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)