2018-11-18 22:53:11 -07:00
2018-11-18 22:50:08 -07:00
2018-11-18 22:50:08 -07:00
2018-11-18 22:50:08 -07:00
2018-11-18 22:50:08 -07:00
2018-11-18 22:50:08 -07:00
2018-11-18 22:50:08 -07:00
2018-11-18 22:53:11 -07:00
2018-11-18 22:50:08 -07:00

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
Description
💯 ECDSA tools. Key Generation. PEM-to-JWK. JWK-to-PEM. Lightweight. Zero Dependencies. Universal compatibility.
Readme 59 KiB
Languages
JavaScript 81.9%
Shell 16.8%
Public Key 1.3%