Question: Using a Caesar Cipher shifted 6 positions ( a - > g ) , encode the following message: attackatdawn This can be done by hand
Using a Caesar Cipher shifted positions a g encode the following message:
attackatdawn
This can be done by hand or with the following command in a Kali terminal window that takes the first string and translates the letter in the second string into the letter in the same position of the third string.
echo 'attackatdawn' tr 'abcdefghijklmnopqrstuvwxyz' 'ghijklmnopqrstuvwxyzabcdef'
If you don't want to type out all those letters, use a short cut that the tr command gives us
echo 'attackatdawn' tr azgzaf
type man tr or tr help to see what else the translate command can do
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
