Discrete Mathematics with Applications MATH236
- Dr. Hung P. Tong-Viet
School of Mathematics, Statistics and Computer Science University of KwaZulu-Natal Pietermaritzburg Campus
Semester 1, 2013
Tong-Viet (UKZN) MATH236 Semester 1, 2013 1 / 22
Discrete Mathematics with Applications MATH236 Dr. Hung P. - - PowerPoint PPT Presentation
Discrete Mathematics with Applications MATH236 Dr. Hung P. Tong-Viet School of Mathematics, Statistics and Computer Science University of KwaZulu-Natal Pietermaritzburg Campus Semester 1, 2013 Tong-Viet (UKZN) MATH236 Semester 1, 2013 1 /
Tong-Viet (UKZN) MATH236 Semester 1, 2013 1 / 22
Tong-Viet (UKZN) MATH236 Semester 1, 2013 2 / 22
Tong-Viet (UKZN) MATH236 Semester 1, 2013 3 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 4 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 4 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 4 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 4 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 4 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 4 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 4 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 5 / 22
Digital signatures with RSA
1 She begins by representing the message M as an integer in the
Tong-Viet (UKZN) MATH236 Semester 1, 2013 5 / 22
Digital signatures with RSA
1 She begins by representing the message M as an integer in the
2 Using her private key, she computes the message signature
Tong-Viet (UKZN) MATH236 Semester 1, 2013 5 / 22
Digital signatures with RSA
1 She begins by representing the message M as an integer in the
2 Using her private key, she computes the message signature
3 Alice concatenates M with Mpri(Alice) to produce M||Mpri(Alice) Tong-Viet (UKZN) MATH236 Semester 1, 2013 5 / 22
Digital signatures with RSA
1 She begins by representing the message M as an integer in the
2 Using her private key, she computes the message signature
3 Alice concatenates M with Mpri(Alice) to produce M||Mpri(Alice) 4 Assuming that the message M is confidential, she encrypted
Tong-Viet (UKZN) MATH236 Semester 1, 2013 5 / 22
Digital signatures with RSA
1 She begins by representing the message M as an integer in the
2 Using her private key, she computes the message signature
3 Alice concatenates M with Mpri(Alice) to produce M||Mpri(Alice) 4 Assuming that the message M is confidential, she encrypted
Tong-Viet (UKZN) MATH236 Semester 1, 2013 5 / 22
Digital signatures with RSA
1 Bob receives a message (M||M′)pub(Bob) from someone claiming to be
Tong-Viet (UKZN) MATH236 Semester 1, 2013 6 / 22
Digital signatures with RSA
1 Bob receives a message (M||M′)pub(Bob) from someone claiming to be
2 Bob now encrypts M′ with Alice’s public key, pub(Alice), i.e., he finds
Tong-Viet (UKZN) MATH236 Semester 1, 2013 6 / 22
Digital signatures with RSA
1 Bob receives a message (M||M′)pub(Bob) from someone claiming to be
2 Bob now encrypts M′ with Alice’s public key, pub(Alice), i.e., he finds
Tong-Viet (UKZN) MATH236 Semester 1, 2013 6 / 22
Digital signatures with RSA
1 Bob receives a message (M||M′)pub(Bob) from someone claiming to be
2 Bob now encrypts M′ with Alice’s public key, pub(Alice), i.e., he finds
pub(Alice) = M. Then Bob knows that M′ was encrypted with Alice’s
Tong-Viet (UKZN) MATH236 Semester 1, 2013 6 / 22
Digital signatures with RSA
1 Bob receives a message (M||M′)pub(Bob) from someone claiming to be
2 Bob now encrypts M′ with Alice’s public key, pub(Alice), i.e., he finds
pub(Alice) = M. Then Bob knows that M′ was encrypted with Alice’s
pub(Alice) = M. Therefore, either M′ was not encrypted with Alice’s
Tong-Viet (UKZN) MATH236 Semester 1, 2013 6 / 22
Digital signatures with RSA
1 Bob receives a message (M||M′)pub(Bob) from someone claiming to be
2 Bob now encrypts M′ with Alice’s public key, pub(Alice), i.e., he finds
pub(Alice) = M. Then Bob knows that M′ was encrypted with Alice’s
pub(Alice) = M. Therefore, either M′ was not encrypted with Alice’s
Tong-Viet (UKZN) MATH236 Semester 1, 2013 6 / 22
Digital signatures with RSA
1 Bob receives a message (M||M′)pub(Bob) from someone claiming to be
2 Bob now encrypts M′ with Alice’s public key, pub(Alice), i.e., he finds
pub(Alice) = M. Then Bob knows that M′ was encrypted with Alice’s
pub(Alice) = M. Therefore, either M′ was not encrypted with Alice’s
Tong-Viet (UKZN) MATH236 Semester 1, 2013 6 / 22
Digital signatures with RSA
1 Bob receives a message (M||M′)pub(Bob) from someone claiming to be
2 Bob now encrypts M′ with Alice’s public key, pub(Alice), i.e., he finds
pub(Alice) = M. Then Bob knows that M′ was encrypted with Alice’s
pub(Alice) = M. Therefore, either M′ was not encrypted with Alice’s
Tong-Viet (UKZN) MATH236 Semester 1, 2013 6 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 7 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 7 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 7 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 7 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 7 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 7 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 7 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 7 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 8 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 8 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 8 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 8 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 8 / 22
Digital signatures with RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 8 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 9 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 9 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 9 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 9 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 9 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 10 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 10 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 10 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 11 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 11 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 11 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 11 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 12 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 12 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 12 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 12 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 12 / 22
The mathematics of RSA
Tong-Viet (UKZN) MATH236 Semester 1, 2013 12 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 13 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 13 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 13 / 22
The El Gamal public-key cryptosystem
1
p
Tong-Viet (UKZN) MATH236 Semester 1, 2013 13 / 22
The El Gamal public-key cryptosystem
1
p
2
Tong-Viet (UKZN) MATH236 Semester 1, 2013 13 / 22
The El Gamal public-key cryptosystem
1
p
2
3
Tong-Viet (UKZN) MATH236 Semester 1, 2013 13 / 22
The El Gamal public-key cryptosystem
1
p
2
3
Tong-Viet (UKZN) MATH236 Semester 1, 2013 13 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 14 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 14 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 14 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 15 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 15 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 15 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 15 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 15 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 16 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 16 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 16 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 16 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 16 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 16 / 22
The El Gamal public-key cryptosystem
1 She uses her private key pri(Alice)=a to compute γp−1−a mod p Tong-Viet (UKZN) MATH236 Semester 1, 2013 17 / 22
The El Gamal public-key cryptosystem
1 She uses her private key pri(Alice)=a to compute γp−1−a mod p 2 Now she can recover the message M by finding
Tong-Viet (UKZN) MATH236 Semester 1, 2013 17 / 22
The El Gamal public-key cryptosystem
1 She uses her private key pri(Alice)=a to compute γp−1−a mod p 2 Now she can recover the message M by finding
Tong-Viet (UKZN) MATH236 Semester 1, 2013 17 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 18 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 18 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 18 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 18 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 18 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 18 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 18 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 19 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 19 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 19 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 19 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 19 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 20 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 20 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 20 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 20 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 20 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 20 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 21 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 21 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 21 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 21 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 21 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 21 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 21 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 22 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 22 / 22
The El Gamal public-key cryptosystem
Tong-Viet (UKZN) MATH236 Semester 1, 2013 22 / 22