

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


The negatives idea:
To eliminate lengthy calculations, big numbers can be turned into smaller negatives in modulus of 26
ex. 14 mod 26 = -12 mod 26 18 mod 26 = -8 mod 26 25 mod 26 = -1 mod 26
Since all hill calculations are in modulus of 26, this just makes you able to calculate it slightly faster by hand.
Tips:
13 * even = 0 in mod 26 ( 262 * 2C mod 26 = 26C mod 26 = 0 mod 26)
13 * odd = 13 in mod 26 (same idea)
Know your factors of 26 (26, 52, 78, 104, 130)
Remember that Hills take a very long time and are often worth very little points anyway ๐ญ
So the new alphabet is:
Example calculation:
Key word: TARP Text: WPQFDFBOEF
Decryption matrix:
Text:
W P Q F D F B O E F -4 -11 -10 5 3 5 1 -12 4 5
Calculation:
-44+
8 I
36- 10+ 11 L
-110+
U
90+ 125
V
33+ 33 7 H
-27+ -1+ 8 I