### Encrypt: ``` openssl rsautl -encrypt -inkey publickey.pem -pubin -in file.txt -out file.txt.enc ``` ### Decrypt: ``` openssl rsautl -decrypt -inkey privatekey.pem -in file.txt.enc -out file.txt ```