💯 RSA tools. Lightweight. Zero Dependencies. Great tests. Universal compatibility.
rsa
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
AJ ONeal 8d2ebe77fe a squeaky clean start 5 years ago
bin a squeaky clean start 5 years ago
fixtures add test files 5 years ago
lib a squeaky clean start 5 years ago
README.md add test files 5 years ago
index.js a squeaky clean start 5 years ago
package.json v0.0.2: placeholder 5 years ago

README.md

Placeholder

I've just completed these:

I've got working prototypes for the RSA variants as well and I'm in the middle of cleaning them up to publish.

Testing

openssl genrsa -out privkey-rsa-2048.pkcs1.pem 2048
openssl rsa -in privkey-rsa-2048.pkcs1.pem -pubout -out pub-rsa-2048.spki.pem
openssl pkcs8 -topk8 -nocrypt -in privkey-rsa-2048.pkcs1.pem -out privkey-rsa-2048.pkcs8.pem
openssl rsa -in pub-rsa-2048.spki.pem -pubin -RSAPublicKey_out -out pub-rsa-2048.pkcs1.pem
ssh-keygen -f ./pub-rsa-2048.spki.pem -i -mPKCS8 > ./pub-rsa-2048.ssh.pub

** unified openssl commands **

https://gist.github.com/briansmith/2ee42439923d8e65a266994d0f70180b