Update README.md

This commit is contained in:
Bill Buchanan
2026-02-02 11:24:07 +00:00
committed by GitHub
parent 9b7e90355f
commit 02317bfcf4

View File

@@ -15,7 +15,7 @@ Sample answers: [here](https://github.com/billbuchanan/appliedcrypto/blob/master
| 1 | Log into vSoC 2, and select your Ubuntu host (or your own AWS EC2 instance or virtual machine). | What is your IP address? |
| 2 | Use: ```openssl list -cipher-commands``` | Outline five encryption methods that are supported: |
| 3 | Use: ```openssl version``` | Outline the version of OpenSSL: |
| 4 | Using openssl and the command in the form: ```openssl prime -hex 1111``` | Check if the following are prime numbers: | 42 [Yes][No] 1421 [Yes][No] |
| 4 | Using openssl and the command in the form: ```openssl prime -hex 1111``` | Check if the following are prime numbers: <br> 42 [Yes][No] 1421 [Yes][No] |
| 5 | Now create a file named myfile.txt (either use nano or another editor). Next. encrypt with aes-256-cbc <br> ```openssl enc -aes-256-cbc -in myfile.txt -out encrypted.bin -pbkdf2``` and enter your password. | Use the following command to view the output file: ```cat encrypted.bin``` Is it easy to write out or transmit the output: [Yes][No]. What does the ```-pbkdf2``` part do? |
| 6 | Now repeat the previous command and add the base64 option. <br>```openssl enc -aes-256-cbc -in myfile.txt -out encrypted.bin base64 -pbkdf2``` | Use the following command to view the output file: ```cat encrypted.bin``` Is it easy to write out or transmit the output: [Yes][No]
| 7 | Now repeat the previous command and observe the encrypted output. <br>```openssl enc -aes-256-cbc -in myfile.txt -out encrypted.bin base64 -pbkdf2``` | Has the output changed? [Yes][No] Why has it changed? |