Open TJKoury opened 3 years ago
@TJKoury webcrypto-liner
supports Ed25519
https://github.com/PeculiarVentures/webcrypto-liner/blob/master/test/ed.ts#L12
Great! I need x25519 support as well, for ECDH.
To clarify:
I'm aware that you can actually use Ed25519 for ECDH, but most heavily used libraries follow the separation of using Ed25519 for 'sign' & 'verify', and x25519 for 'deriveBits' & 'deriveKey' for ECDH_ES, including Node.
Seeing as how all the examples are testing using the Node API, and hopefully the WebCrypto browser standards will follow the Node example, implementing x25519 for completeness seems appropriate for an isomorphic library to bring the browser up to Node's capabilities.
So, thoughts?
@microshine
Bump
Bump
Bump
Since integration of the ECDH_ES mech is waiting on this issue, and I need x25519 for a project, I integrated a different crypto library for the time being.
Seems to be passing the test suite copied from the ED mech, though I am certain I missed something.
Standing by for feedback.