key-encoder-js
key-encoder-js copied to clipboard
Mvayngrib curves
This failed with the following:
/home/ubuntu/key-encoder-js/test.js:173
var ecdh = crypto.createECDH(aliases[curveName])
^
TypeError: Object #<Object> has no method 'createECDH'
at Test.<anonymous> (/home/ubuntu/key-encoder-js/test.js:173:27)
at Test.bound [as _cb] (/home/ubuntu/key-encoder-js/node_modules/tape/lib/test.js:63:32)
at Test.run (/home/ubuntu/key-encoder-js/node_modules/tape/lib/test.js:82:10)
at Test.bound [as run] (/home/ubuntu/key-encoder-js/node_modules/tape/lib/test.js:63:32)
at Object.next [as _onImmediate] (/home/ubuntu/key-encoder-js/node_modules/tape/lib/results.js:70:15)
at processImmediate [as _immediateCallback] (timers.js:345:15)
npm ERR! Test failed. See above for more details.
@mvayngrib It looks like createECDH isn't present as a method in the crypto library supplied with the specific node version they're running. Any idea how wide the support is for this method?
re: createECDH, it's available starting with node 0.12: https://nodejs.org/docs/v0.12.0/api/crypto.html
re: test vectors, i haven't been able to find them so far...