Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Symmetric Encryption Lab Symmetric cryptography, also known as shared - key cryptography, is a method of encryption and decryption that uses the same secret key
Symmetric Encryption Lab
Symmetric cryptography, also known as sharedkey cryptography, is a method of encryption and decryption that uses the same secret key for both processes.
When performing symmetric encryption, there are a lot of options, each with different results. In this lab we'll look at the effect of different ciphers and modes of operation on the ciphertext. We'll also look at key derivation functions, padding and error propagation.
This lab will run on the bash kernel and we will rely on openssl for most of the work.
Locate the "USDlogobmp file and copy it into to a working directory for the encrypted images you'll be generating.
First, let's check the version of openssl we are using. Type:
openssl version
OpenSSL Mar Library: OpenSSL Mar
to see a list of all available ciphers type:
openssl enc list
Before we can start encrypting, we need something to encrypt. You can create your plaintext using an editor or use the code model in the code cell below to create your file. Change the to your message. Make sure you use at least characters.
echo plain.txt
echo "May your future be filled with endless opportunity, continued growth, and impactful contributions to Cybersecurity." plain.txt
cat plain.txt
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