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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!