You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a code snippet. whenever I execute it I get the above error
`const sjcl = require("sjcl");
var gkey1 = sjcl.ecc.elGamal.generateKeys(384, 10);
var alicekeys = gkey1.pub.kem(10);
var gkey2 = sjcl.ecc.elGamal.generateKeys(384, 10);
var bobkeys = gkey2.pub.kem(10);
var aliceshared = alicekeys.key;
var bobshared = gkey2.sec.unkem(alicekeys.tag);
`
The text was updated successfully, but these errors were encountered:
In order to enable some sjlc modules it is required to re-compile the library yourself.
$ git clone https://github.com/bitwiseshiftleft/sjcl.git
$ cd sjcl
$ ./configure # Requests for extensions go here, e.g. --with-ecc --with-srp
$ make sjcl.js
$ make test # If any of the tests fail, beware.
Here is a code snippet. whenever I execute it I get the above error
`const sjcl = require("sjcl");
var gkey1 = sjcl.ecc.elGamal.generateKeys(384, 10);
var alicekeys = gkey1.pub.kem(10);
var gkey2 = sjcl.ecc.elGamal.generateKeys(384, 10);
var bobkeys = gkey2.pub.kem(10);
var aliceshared = alicekeys.key;
var bobshared = gkey2.sec.unkem(alicekeys.tag);
`
The text was updated successfully, but these errors were encountered: