100 likes | 293 Views
Affine. To Reinforce Modular and Relatively Prime. Relatively Prime. Two numbers are relatively prime if they have no common factors other than 1. 9 20 3 3 2 10 5 2. Modular Arithmetic. Modular Arithmetic Clock arithmetic.
E N D
Affine To Reinforce Modular and Relatively Prime
Relatively Prime • Two numbers are relatively prime if they have no common factors other than 1. 9 20 3 3 2 10 5 2
Modular Arithmetic • Modular Arithmetic • Clock arithmetic
The Alphabet, Plaintext, and Ciphertext • Above is a chart showing the ‘plaintext’ alphabet along with their corresponding values. • It is not necessary to start the chart with ‘A’ • This chart also works in reverse. • If you have a message and you know the formula, you can do the math and find the letter.
This Chart • x is the letter’s original value • b is a positive number of their choice • l is the number of characters is the chosen ‘alphabet’ • a is a number relatively prime with l • Now: lets do an example • ZOO
What you will be asked to do now • Decipher a short message to ensure you know the method • This message will give you necessary information to complete the rest of the worksheet • Send 2 messages to a partner and decipher 2 messages from a partner.