MD2 Lab: Decrypt an encrypted message Flashcards

1
Q

Lab example:

You can decrypt the Caesar cipher in the .leftshift3 file by using the following command:

A

cat .leftShift3 | tr “d-za-cD-ZA-C” “a-zA-Z”

Note: The tr command translates text from one set of characters to another, using a mapping. The first parameter to the tr command represents the input set of characters, and the second represents the output set of characters. Hence, if you provide parameters “abcd” and “pqrs”, and the input string to the tr command is “ac”, the output string will be “pr”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

SEE ‘MD2 Exemplar LAB decryption CASEAR’ IN COURSE 5 FOLDER

A

SEE ‘MD2 Exemplar LAB decryption CASEAR’ IN COURSE 5 FOLDER

FOR ENTIRE LAB SESSION

How well did you know this?
1
Not at all
2
3
4
5
Perfectly