RSA CLI
A command line tool for RSA encryption and decryption.
Bash
$ rsa generate test
Generated a new key pair: 'test'
$ rsa encrypt test 'Hello, World!'
Encrypted 'Hello, World!' with key 'test':
siuTym3xP/0u0yQHZ+oNBSFC7ha1JxUzjdrfZ7azpOHsLiQpenyPkoney/LF4hiKrrAKVf6PSIubBgD0s4pluRVoN1m/no8QvB55TV64sreVxLIgbZkUPMWrJFHBMjZbtf3Bnl+Araynq0Dk4OM5vjFwdnzsdzOwEDtAkujBFPjMSGD3k69eW9gaoEjlZCybzKVjqkVzULRp6XbtjmrBLMA5ryKV5Fx92ZIvIRQzmeCcBC1isdMDMxT2qe+TaspUU6Xdlos5oGMkpGRo/iMM6MzoNi1SKihTuod9UpXFbpnHOepW5HJkhECMNBhpoPMglXC/vhvvR3SABnpJMtjk5A==
$ rsa decrypt test 'siuTym3xP/0u0yQHZ+oNBSFC7ha1JxUzjdrfZ7azpOHsLiQpenyPkoney/LF4hiKrrAKVf6PSIubBgD0s4pluRVoN1m/no8QvB55TV64sreVxLIgbZkUPMWrJFHBMjZbtf3Bnl+Araynq0Dk4OM5vjFwdnzsdzOwEDtAkujBFPjMSGD3k69eW9gaoEjlZCybzKVjqkVzULRp6XbtjmrBLMA5ryKV5Fx92ZIvIRQzmeCcBC1isdMDMxT2qe+TaspUU6Xdlos5oGMkpGRo/iMM6MzoNi1SKihTuod9UpXFbpnHOepW5HJkhECMNBhpoPMglXC/vhvvR3SABnpJMtjk5A=='
Decrypted 'siuTym3xP/0u...BnpJMtjk5A==' with key 'test':
Hello, World!
Simple.
Short commands, plus alias.
One-Command Installation
Install/Upgrade with or with one-command.
Yarnnpm
$ yarn global add rsa-cli
$ npm install -g rsa-cli
Bash
$ rsa password enable
? New password: [hidden]
? Confirm password: [hidden]
------------------------
IMPORTANT!
Remember your password!
Because if you forgot it, NO ONE CAN RECOVER YOUR PRIVATE KEYS!
------------------------
? Are you sure you want to enable password? Yes
Password enabled.
Private Keys Protection
Protect your private key with password.
Open Source
RSA CLI is fully open source, so you can trust it.
Bash
$ git clone git@github.com:MrWillCom/rsa-cli.git
Cloning into 'rsa-cli'...
remote: Enumerating objects: 440, done.
remote: Counting objects: 100% (440/440), done.
remote: Compressing objects: 100% (305/305), done.
Receiving objects: 100% (440/440), 365.70 KiB | 175.00 KiB/s, done.
Resolving deltas: 100% (254/254), done.
Yarnnpm
$ yarn global add rsa-cli
$ npm install -g rsa-cli
Get Started
Install with or .