March 2018
Beginner to intermediate
656 pages
20h 9m
English
In order to decrypt the RSA-encrypted file, the following command can be used:
$ openssl rsautl -decrypt -inkey privatekey.pem -in message.rsa \ -out message.dec
Now, if the file is read using cat, decrypted plaintext can be seen as shown here:
$ cat message.dec datatoencrypt