Docsity

The number theory behind cryptography, Study notes of Number Theory

Partial preview of the text

Download The number theory behind cryptography and more Study notes Number Theory in PDF only on Docsity!

The number theory behind cryptography

Christelle Vincent

The University of Vermont

May 16, 2017

What is cryptography?

Cryptography is the practice and study of techniques for secure communication in the presence of adverse third parties.

Organization of this talk

(^1) Vocabulary and history

(^2) Mathematical preliminaries

(^3) Discrete logarithm problem

(^4) Digital Signature Algorithm

(^5) Attacking DSA

(^1) Vocabulary and history

Mathematical preliminaries

Discrete logarithm problem

Digital Signature Algorithm

Attacking DSA

Some vocabulary

A cipher is the algorithm used to encrypt and decrypt.

The operation of most good ciphers is controlled both by the algorithm and a parameter called a key.

Example: Caesar cipher

The algorithm of the Caesar cipher is to replace each letter by the kth letter preceding it in the alphabet.

The specific choice of k in a given instance of this cipher is the key.

Example: Caesar cipher

To decrypt, use the same key k, but choose the kth letter following a given letter in the alphabet.

Cryptography then: Secret key cryptography

Main idea: Alice and Bob share privately the cipher and/or key they will use to communicate.

Examples: Caesar cipher (∼100BC) Enigma machine (WWII)

Cryptography now: Public key cryptography

In June 1976, Diffie and Hellman proposed the notion of public key or asymmetric key cryptography.^1

In such a cryptosystem, Bob generates two sets of keys, one public and one private.

(^1) Actually this was discovered in 1970 by Ellis at Government Communications Headquarters, but it was classified until 1997.

Cryptography now: Public key cryptography

Alice uses Bob’s public key to encrypt a message to Bob,

and then Bob uses his private key to decrypt the message.

An example of a suitable problem

Which problem would you rather see appear on an exam:

(^1) Perform the multiplication 1489 × 701; or

(^2) Factor the number 1, 043 , 789.

Rough idea

Bob has the two primes 1489 and 701 as his private key, and the product 1, 043 , 789 as his public key.

He can publish his public key for everyone to see without fear that they can recover his private key, since factoring is difficult.^2

(^2) At least we think it is.

Our focus

In this talk I will focus on cryptosystems relying on a different difficult problem: the discrete logarithm problem.

Vocabulary and history

(^2) Mathematical preliminaries

Discrete logarithm problem

Digital Signature Algorithm

Attacking DSA