@bluecrypt/keypairs
v0.1.1
Published
Zero-Dependency Native Browser support for ECDSA P-256 and P-384, and RSA 2048/3072/4096 written in VanillaJS
Downloads
24
Readme
Bluecrypt™ Keypairs | A Root Project
A port of keypairs.js to the browser.
Features (port in-progress)
- [x] Keypair generation and encoding
- [x] RSA
- [x] ECDSA (P-256, P-384)
- [x] JWK-to-PEM
- [ ] JWK-to-SSH
- [ ] PEM-to-JWK
- [ ] SSH-to-JWK
- [x] ASN1, X509, PEM, DER
- [x] SHA256 JWK Thumbprints
- [x] Sign JWS
- [ ] Create JWTs
- [ ] JWK fetching. See Keyfetch.js
- [ ] OIDC
- [ ] Auth0
- [ ] CLI (ee keypairs-cli)
- [ ] Node.js (ee keypairs.js)
- [ ] CSR.js
- [ ] ACME.js (Let's Encyrpt)
Online Demos
- Bluecrypt Keypairs.js Demo https://rootprojects.org/keypairs/
QuickStart
bluecrypt-keypairs.js
<script src="https://rootprojects.org/keypairs/bluecrypt-keypairs.js"></script>
bluecrypt-keypairs.min.js
<script src="https://rootprojects.org/keypairs/bluecrypt-keypairs.min.js"></script>
You can see index.html
and app.js
in the repo for full example usage.
Documentation
See keypairs.js for documentation.