- Advanced Blockchain Development
- Imran Bashir Narayan Prusty
- 45字
- 2021-06-24 14:04:59
Decryption
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