CSCI 360 Project2
CSCI 360 Project2
Introduction
This report details the steps taken to encrypt and decrypt a file using OpenSSL on a Mac terminal. The
primary goal is to ensure data security through encryption and verify successful decryption by comparing
the decrypted file with the original.
Tool: OpenSSL
openssl help, this is what you see when you enter the command.
2. Performance of OpenSSL
a. Run a speed test on the PC platform:
openssl speed
b. Comparing results
6. Verifying Decryption
To confirm that the file has been successfully decrypted, compare the contents of the original file and the
decrypted file:
a. View the original file:
cat decrypted_Project2.txt
If the `diff` command produces no output, it indicates that the original and decrypted files are identical,
confirming successful decryption. If there are differences, they will be displayed, indicating a potential
issue with the decryption process or the password used.
Conclusion
The process detailed above successfully demonstrates the use of OpenSSL to encrypt and decrypt files on
a Mac terminal. By following these steps, one can ensure data security and verify the integrity of the
decrypted data by comparing it with the original file.