Cryptology: G Ed 0103 Math in TH E Mod Ern World
Cryptology: G Ed 0103 Math in TH E Mod Ern World
Nikki Blas
CRYPTOLOGY
CRYPTOLOGY IS THE STUDY OF
MAKING AND BREAKING
SECRET CODES.
CRYPTOLOGY
DEFINITION OF TERMS
• Plaintext is a message before it is coded.
Example:
CRYPTOLOGY
DEFINITION OF TERMS
• Ciphertext is the message after it has been written
in code.
Example:
CRYPTOLOGY
DEFINITION OF TERMS
• Encryption method of changing from
plaintext to ciphertext.
• To decrypt a message means to take the
ciphertext message and write it in plaintext.
CRYPTOLOGY
CODING SCHEMES
Caesar cipher Affine cipher
one of the earliest known and a substitution cipher in the
simplest ciphers. It is a type form
of substitution cipher in which 𝑐 ≡ (𝑎𝑝 + 𝑚) mod 26
each letter in the plaintext is
'shifted' a certain number of
places down the alphabet
𝑐 ≡ (𝑝 + 𝑚) mod 26
NUMERICAL EQUIVALENTS FOR THE LETTERS OF
THE ALPHABET
𝑝 is the numerical equivalent of the
CEASAR CIPHER plaintext letter and 𝑐 is the numerical
equivalent of the ciphertext letter
Encrypting Decrypting
𝑐 ≡ 𝑝 + 𝑚 𝑚𝑜𝑑 26 𝑝 ≡ 𝑐 + 𝑛 𝑚𝑜𝑑 26
where 𝑚 is the number of where 𝑛 = 26 − 𝑚
positions the letter is shifted
𝑝 is the numerical equivalent of the
CEASAR CIPHER plaintext letter and 𝑐 is the numerical
equivalent of the ciphertext letter
Encrypting
𝑐 ≡ 𝑝 + 𝑚 𝑚𝑜𝑑 26
ANSWER: YBIR
Example:
ARITHMETIC OPERATIONS
MODULO N
ADDITIVE AND MULTIPLICATIVE
INVERSES IN MODULAR ARITHMETIC
READING ASSIGNMENT
END
NEXT MEETING:
CRYPTOLOGY
TO BE SUBMITTED NEXT MEETING (10 MINUTES
BEFORE THE END OF CLASS, THAT MEANS, YOU CAN
WORK ON THESE PROBLEMS DURING OUR CLASS
TIME NEXT MEETING)
USE YELLOW PAD PAPER FOR YOUR COMPLETE
SOLUTION.
Applications
GROUP TASK / 5 MEMBERS of Modular
Arithmetic
Task: Applications of Modular Arithmetic
I. Determine whether the given number is a valid ISBN.
1) 978-0-281-44268-5
2) 978-0-143-03943-3
II. Determine the correct check digit for the ISBN of the book
Facebook for Dummies by Leah Pearlman and Carolyn Abrahan;
978-0-470-87804-?
III. Determine the correct check digit for the UPC of Monopoly;
7-14043-01126-?
IV. Determine whether the given credit card number is a valid number
1) 4417-5486-1785-6411
2) 5591-4912-7644-1105