layout | title | nav_order | permalink | description | nav_exclude | search_exclude | has_toc |
---|---|---|---|---|---|---|---|
default |
Home |
1 |
/ |
Node.js javascript tool to generate ,encrypt and decrypt RSA and EC keys formated as PEM / DER. |
false |
true |
true |
{:.no_toc .fs-9 } Node.js javascript tool to generate ,encrypt and decrypt RSA and EC keys formated as PEM / DER. {: .fs-6 .fw-300 }
Get started now{: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 } View it on GitHub{: .btn .fs-5 .mb-4 .mb-md-0 }
- TOC {:toc}
This is a fork of js-crypto-key-utils to work only with node.js, with less dependencies and not available for Octet-Formatted Key.
Included code to generate private and public key pair with RSA or EC algorithm
Supported key types are PEM/DER.
- Public keys are encoded to the form of SubjectPublicKeyInfo (SPKI) defined as a part of X.509 public key certificate (RFC5280). The detailed encoding rule for elliptic curve cryptographic keys is given in RFC5480.
- Private keys are encoded to hte form of PrivateKeyInfo defined in PKCS#8 (RFC5958). The detailed encoding rule for elliptic curve cryptographic keys is given in RFC5915 as well as SPKI.
Please refer to RFC3447 for the detailed encoding rule of RSA public and private keys.
See our API and Tests Results for examples of usage.
Crypto-Keys is © 2019-2019 by Ademar Arvati.
Crypto-Keys is distributed by an MIT license.
When contributing to this repository, please first discuss the change you wish to make via issue with the owners of this repository before making a change. Read more about becoming a contributor in our GitHub repo.
This fork is totally based on work published by junkurihara at js-crypto-key-utils
It uses library publish by Tom Wu at stanford jsbn to generate keypair in pure js.
Using Great Jekyll theme Just the Docs by Patrick Marsceill