digitalbazaar / ed25519-verification-key-2020

Javascript library for generating and working with Ed25519VerificationKey2020 key pairs, for use with crypto-ld.
BSD 3-Clause "New" or "Revised" License
3 stars 10 forks source link

Add Node ED25519 native support #2

Closed aljones15 closed 3 years ago

aljones15 commented 3 years ago
  1. if this module is being used in node use node's crypto lib
  2. ensure usage does not break 2020 spec
  3. Branch from this PR: https://github.com/digitalbazaar/ed25519-verification-key-2020/pull/1
  4. https://nodejs.org/api/crypto.html#crypto_crypto_createprivatekey_key
  5. make node-forge a webpack alias only included in node and not the browser
  6. use the asn1 code from previous verification keys here

What we use now:

@stablelib/ed25519 @stablelib/random

mattcollier commented 3 years ago

I recently updated crypto-bench to include Node.cryto ed25519 verify: https://github.com/digitalbazaar/crypto-bench#nodejs-14151-amd-ryzen-5-3600-with-sha_ni-capability

dmitrizagidulin commented 3 years ago

Implemented in latest PR, closing.