Question
1.1: Encrypt the file using the Advanced Encryption Standard (AES) 128-bit version using the openssl command. Use whatever password you want to use for encryption,
1.1: Encrypt the file using the Advanced Encryption Standard (AES) 128-bit version using the openssl command. Use whatever password you want to use for encryption, but remember it as you will need it for later questions in the lab. $ openssl aes-128-cbc -salt -in passwd -out passwd.aes $ ls -l passwd* $ file passwd* Compare the sizes and types of the resulting files. Describe how they differ in your own words (e.g. type, size or characters that you visualize).
-rw-r--r1 1422 Mar 4 12:24 passwd
Passwd: ASCII text
. What are the similarities between the three different MACs? What are the differences?
$ openssl dgst -md5 passwd
$ openssl dgst -sha1 passwd
$ openssl dgst -sha256 passwd
Edit passwd.1 and change the first character, which is an r, to an s, then compute the checksums again. Write the checksums in the box below. What are the differences between the MACs for passwd and passwd.1? Are the majority of the encoded digits different? Yes. How are the differences between the MACs of the two files important for using MACs to secure the integrity of files?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started