

















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!


















Chapter 1 Introduction 1
Chapter 1 Introduction 2
Part 1 Cryptography 4
A cipher or cryptosystem is used to encrypt
the plaintext
The result of encryption is ciphertext
We decrypt ciphertext to recover plaintext
A key is used to configure a cryptosystem
A symmetric key cryptosystem uses the same
A public key cryptosystem uses a public key
to encrypt and a private key to decrypt (sign)
Part 1 Cryptography 5
Part 1 Cryptography 7
a b c d e f g h i j k l m n o p q r s t u v w x y D E F G H I J K L M N O P Q R S T U V W X Y Z A B
z C
Plaintext
Ciphertext
Part 1 Cryptography 8
Plaintext: spongebobsquarepants
a b c d e f g h i j k l m n o p q r s t u v w x y D E F G H I J K L M N O P Q R S T U V W X Y Z A B
z C
Plaintext
Ciphertext
Suppose we know a Ceasar’s
cipher is being used
Ciphertext:
VSRQJHEREVTXDUHSDQWU
Part 1 Cryptography 10
Part 1 Cryptography 11
a b c d e f g h i j k l m n o p q r s t u v w x y J I C A X S E Y V D K W B Q T Z R H F M P N U L G
z O
Plaintext
Ciphertext
Part 1 Cryptography 13
0.
0.
0.
0.
0.
0.
0.
0.
A C E G I K M O Q S U W Y
Part 1 Cryptography 14
PBFPVYFBQXZTYFPBFEQJHDXXQVAPTPQJKTOYQWIPBVWLXTOXBTFXQWA XBVCXQWAXFQJVWLEQNTOZQGGQLFXQWAKVWLXQWAEBIPBFXFQVX GTVJVWLBTPQWAEBFPBFHCVLXBQUFEVWLXGDPEQVPQGVPPBFTIXPFHXZ HVFAGFOTHFEFBQUFTDHZBQPOTHXTYFTODXQHFTDPTOGHFQPBQWAQ JJTODXQHFOQPWTBDHHIXQVAPBFZQHCFWPFHPBFIPBQWKFABVYYDZB OTHPBQPQJTQOTOGHFQAPBFEQJHDXXQVAVXEBQPEFZBVFOJIWFFACF CCFHQWAUVWFLQHGFXVAFXQHFUFHILTTAVWAFFAWTEVOITDHFHFQ AITIXPFHXAFQHEFZQWGFLVWPTOFFA
21 26 6 10 12 51 10 25 10 9 3 10 0 1 15 28 42 0 0 27 4 24 22 28 6
8
Part 1 Cryptography 16
Permute rows and columns
Part 1 Cryptography 17
e=000 h=001 i=010 k=011 l=100 r=101 s=110 t=
Part 1 Cryptography 19
Part 1 Cryptography 20