Use the command openssl list-cipher-commands to list out all the various encryption methods that can be used. The des command can be replaced with various encryption methods based on the requirement. Openssl des -in /Users/john/Downloads/Original.txt -out /Users/john/Downloads/OriginalEnc.txt -k 1234 This password can be used to authorize the decryption of the file in the future. Replace with the file path where the encrypted file should be stored.Replace with the file path to be encrypted.Execute the command after making the following changes to the code,
0 Comments
Leave a Reply. |