eckles.js/README.md

813 B

eckles.js

ECDSA tools. Lightweight. Zero Dependencies. Universal compatibility.

I just cleaned up the PEM-to-JWK functionality enough to publish. I also have the JWK-to-PEM functionality mostly built, but not enough to publish.

  • P-256 (prime256v1, secp256r1)
  • P-384 (secp384r1)
  • PKCS#8
  • SEC1/X9.62
  • PEM-to-JWK
eckles.import({ pem: pem }).then(function (jwk) {
  console.log(jwk);
});

Goals

  • Zero Dependencies
  • Focused support for P-256 and P-384, which are already universally supported.
  • Convert both ways
  • Browser support as well