You are on page 1of 8

Cryptology

Definitions

– Cryptography = the science (art) of encryption


– Cryptanalysis = the science (art) of breaking encryption
– Cryptology = cryptography + cryptanalysis
Cryptography Goals

Eve
Alice Insecure Channel
Bob

– Encryption – Prevent Eve from intercepting message


– Authentication – Prevent Eve from impersonating Alice
Secret Key Cryptography

encryption
plaintext ciphertext

key

ciphertext plaintext
decryption

– Using a single key for encryption/decryption.


– The plaintext and the ciphertext having the same size.
– Also called symmetric key cryptography
Encrypt – plaintext to cyphertext

–  

– Ex. Encrypt “LOVE” where m = 15


– A = 1; B = 2; C = 3; D = 4; E = 5;
– F = 6; G = 7; H = 8; I = 9; J = 10;
– K = 11; L = 12; M = 13; N = 14; O = 15;
– P = 16; Q = 17; R = 18; S = 19; T = 20;
– U = 21; V = 22; W = 23; X = 25; Y = 25;
– Z = 26
Decrypt – cyphertext to plaintext

–  

– Where: n = 26 – m
– Ex. Decrypt “RCPLE” with m = 11
Seat work:

– Encript:
– 1) “Sticks and Stones” m = 3
– 2) “Fly Tonight” m = 6

– Decript: m = 9
– 1) VWJWLG QA XMZNMKB

You might also like