Encrypt:
use openssl(*from the CLI) to encrypt a message using my public key and then decrypt it using my private key
openssl aes-256-cbc -a -salt -in secrets.txt -out secrets.txt.enc
Decrypt:
Decrypt:
openssl aes-256-cbc -d -a -in secrets.txt.enc -out secrets.txt.new
use openssl(*from the CLI) to encrypt a message using my public key and then decrypt it using my private key
Encrypt:
openssl rsautl -pubin -inkey key.pub -encrypt -in message.txt -out message.enc
Decrypt:
openssl rsautl -inkey privkey.pem -decrypt -in message.enc -out message.dec
http://indy.fulgan.com/SSL/ ---for Windows.
http://indy.fulgan.com/SSL/ ---for Windows.