7.5.1.1 Lab - Exploring Encryption Methods
7.5.1.1 Lab - Exploring Encryption Methods
Use an encrypted message, a cipher key, and the Vigenre cipher square to decipher the message.
Create a secret message using the Vigenre cipher and the key.
Background
The Cisco IOS password encryption service uses a Cisco-proprietary algorithm that is based on the Vigenre
cipher. Vigenre is an example of a common type of cipher mechanism called polyalphabetic substitution.
Although not a strong encryption technique, Vigenre serves to illustrate a commonly used encryption and
decryption process.
Note: Students can work in teams of two for this lab.
Required Resources
End user device with Internet access
2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 1 of 5
Step 4: Decrypt the message using the keyword and Vigenre square.
a. Use the table below to help you decrypt the message. Start by entering the letters of the encrypted
message in the second row of cells, from left to right.
b. Enter the keyword TCPIP in the top row, repeating the letters until there is a keyword letter for each letter
of the encrypted message, even if the keyword letters at the end do not represent the complete keyword.
c.
Refer to the Vigenre square or table shown in Step 3 and find the horizontal row that starts with the first
letter of the keyword (the letter T). Scan across that row and locate the first letter of the encrypted
message in the row (the letter V). The letter at the top of the column where the encrypted message letter
appears is the first letter of the decrypted message (the letter C).
d. Continue this process until you have decrypted the entire message and enter it in the following table.
2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 5
Cipher
Keyword
Encrypted
Message
Decrypted
Message
b. You can use the following table to help you encrypt the message. You can enter the unencrypted
message and cipher keyword here, but do not let your partner see it.
c.
In the Vigenre table, locate the row that starts with the first letter of the cipher keyword. Next locate the
first letter to be encrypted at the top of the column in the table. The point (cell) at which the table row (key
letter) and column (message letter) intersect is the first letter of the encrypted message. Continue this
process until you have encrypted the entire message.
Note: This table is limited to messages of 12 characters. You can create longer messages if desired.
Message encryption and decryption is not case-sensitive.
2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 3 of 5
Cipher
Keyword
Encrypted
Message
Decrypted
Message
The following example shows using Sharkys Vigenre Cipher tool for decoding the encrypted message
from Part 1.
2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 5
Reflection
1. Could the Vigenre cipher be used to decode messages in the field without a computer?
Yes. The reciever needs to only have a copy of the encrypted message, the cipher keyword, and a copy of
the Vigenere square.
2. Search the Internet for Vigenre cipher cracking tools. Is the Vigenre cipher considered a strong encryption
system that is difficult to crack?
No, its not considered diffucult to crack.
2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 5 of 5