Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In openssl, we can use the following commands to encrypt/decrypt a file. Sopenssl enc-aes-256-ecb-nosalt-e-in plain.txt-out cipher.bin (use AES-256-ECB to encrypt the file plain.txt and store
In openssl, we can use the following commands to encrypt/decrypt a file. Sopenssl enc-aes-256-ecb-nosalt-e-in plain.txt-out cipher.bin (use AES-256-ECB to encrypt the file plain.txt and store the ciphertext as cipher.bin) Sopenssl enc-aes-256-ecb-nosalt-d-in cipher.bin (use the same scheme to decrypt the ciphertext cipher.bin) -aes-256-ecb" option specifies the version of the AES algorithm which uses 256-bit keys. a. The encryption algorithm aes-256-ecb is a 128-bit block cipher. Design an experiment to verify it. b. Create a >64 bytes text file plain.txt and use the above command to generate the cipher.bin. Use the ghex2 or hexedit utility to change 1 bit of cipher.bin and save the result as cipher1.bin. Execute the same command above to decrypt cipher1.bin. How much information can you recover? Explain why
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