diffie-hellman icon indicating copy to clipboard operation
diffie-hellman copied to clipboard

pure js diffie-hellman

Results 8 diffie-hellman issues
Sort by recently updated
recently updated
newest added

Sharing the logs: ``` ✗ same error for bad prime --- operator: equal expected: 1 actual: 9 at: Test. (/home/nilesh/ups/diffie-hellman/test.js:127:5) ... ✗ same error for bad prime non testable generator...

https://github.com/indutny/elliptic/issues/191 (`diffie-hellman` need bump to 5.1.0)

I do a test about crypto module with diffie-hellman/browser - When I use the followed , DH secret hex is not the same, ``` var dh1_secret = dh1.computeSecret(dh2.getPublicKey('hex'), 'hex'); var...

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860771#10From Is this timing safe? From the github page it uses a pure-JS BigNum implementation (bn.js) for the complicated stuff, but the README of that code doesn't mention timing at...

question

For some reason,`computeSecret` is throwing error saying `cannot read 'red' of undefined`. This seems to indicate that BN was not bundled properly. Environment: browser. Front-end was created using `create-react-app`

I tried running "browserify index.js" to get the actual lib but I doesn't seem to work. It would be awesome if you could show and example of it working to...

Hi, I ran to this error: `TypeError: DH.setPublicKey is not a function` I think dh.setPublicKey function is missing. Without it one cannot use pre-existing public/private keys.