How To Solve The Riemann Equation With The Riemann Equation

Size: px
Start display at page:

Download "How To Solve The Riemann Equation With The Riemann Equation"

Transcription

1 Towards a New Subexponential University of Calgary 28 April 2010

2 1 with 2 3 with 4 (Calgary) Nancy LORIA 2 / 26

3 Motivation with Understanding factorisation and especially why the Number Field Sieve is the best current factoring approach. (Calgary) Nancy LORIA 3 / 26

4 Motivation with Understanding factorisation and especially why the Number Field Sieve is the best current factoring approach. Understand why a more natural approach using the Riemann ζ function fails so far. Are we doomed to bang into a wall through an analytic approach? (Calgary) Nancy LORIA 3 / 26

5 Fermat s Idea with Suppose we can find x,y integers with x 2 y 2 (mod N) and x ±y (mod N). Then 1 < gcd(x y,n) < N and this can be computed quickly, giving rise to a nontrivial factor of N. (Calgary) Nancy LORIA 4 / 26

6 Fermat s Idea with Suppose we can find x,y integers with x 2 y 2 (mod N) and x ±y (mod N). Then 1 < gcd(x y,n) < N and this can be computed quickly, giving rise to a nontrivial factor of N. To find x and y, the most successful technique uses smooth numbers (divisible by small primes only). It is due to Morrison & Brillhart. This idea is at the heart of the most successful factoring methods (QS and NFS), except ECM. (Calgary) Nancy LORIA 4 / 26

7 Running Times ECM, QS, NFS all have subexponential running times. with (Calgary) Nancy LORIA 5 / 26

8 Running Times with ECM, QS, NFS all have subexponential running times. QS: exp ( c 1 (log N) 1/2 (log log N) 1/2) ECM: exp ( c 2 (log p) 1/2 (log log p) 1/2), (where p is smallest prime dividing N) NFS: exp ( c 3 (log N) 1/3 (log log N) 2/3) (Calgary) Nancy LORIA 5 / 26

9 Presentation of Current Work We present an approach which is likely to yield a subexponential general purpose factoring algorithm. with (Calgary) Nancy LORIA 6 / 26

10 Presentation of Current Work with We present an approach which is likely to yield a subexponential general purpose factoring algorithm. It does not use the Morrison-Brillhart paradigm. (Calgary) Nancy LORIA 6 / 26

11 Presentation of Current Work with We present an approach which is likely to yield a subexponential general purpose factoring algorithm. It does not use the Morrison-Brillhart paradigm. It is in my view more natural, as it relates quantities known for their intrinsic arithmetical significance. (Calgary) Nancy LORIA 6 / 26

12 Presentation of Current Work with We present an approach which is likely to yield a subexponential general purpose factoring algorithm. It does not use the Morrison-Brillhart paradigm. It is in my view more natural, as it relates quantities known for their intrinsic arithmetical significance. Translates an arithmetic problem into an analytic one. (Calgary) Nancy LORIA 6 / 26

13 Presentation of Current Work with We present an approach which is likely to yield a subexponential general purpose factoring algorithm. It does not use the Morrison-Brillhart paradigm. It is in my view more natural, as it relates quantities known for their intrinsic arithmetical significance. Translates an arithmetic problem into an analytic one. All running times are proven, no assumptions! (Calgary) Nancy LORIA 6 / 26

14 Presentation of Current Work with We present an approach which is likely to yield a subexponential general purpose factoring algorithm. It does not use the Morrison-Brillhart paradigm. It is in my view more natural, as it relates quantities known for their intrinsic arithmetical significance. Translates an arithmetic problem into an analytic one. All running times are proven, no assumptions! Much room for future improvements. (Calgary) Nancy LORIA 6 / 26

15 Approaching Multiplicative Functions Let φ(n) be the Euler phi function. Suppose that N factors as N = pq, so that φ(n) = N p N p + 1 = f (p). with (Calgary) Nancy LORIA 7 / 26

16 Approaching Multiplicative Functions with Let φ(n) be the Euler phi function. Suppose that N factors as N = pq, so that φ(n) = N p N p + 1 = f (p). Then using Newton s method, an approximation to φ(n) will yield an approximation to p, which is enough to recover it. (Calgary) Nancy LORIA 7 / 26

17 Approaching Multiplicative Functions with Let φ(n) be the Euler phi function. Suppose that N factors as N = pq, so that φ(n) = N p N p + 1 = f (p). Then using Newton s method, an approximation to φ(n) will yield an approximation to p, which is enough to recover it. How do we find a good approximation to φ(n)? (Calgary) Nancy LORIA 7 / 26

18 First Attempt with Riemann with Riemann is ζ(s) = n 1 1 n s Rs > 1 It can be continued to a meromorphic function in C with simple pole with residue 1 at s = 1. Also ζ(s 1) ζ(s) = n 1 φ(n) n s Rs > 2 (Calgary) Nancy LORIA 8 / 26

19 Isolating φ(n) with Classical: Compute Φ(x) = n<x φ(n) by Φ(x) = 1 2πi 3+i 3 i ζ(s 1) ζ(s) and move line of integration to the left. x s s ds (Calgary) Nancy LORIA 9 / 26

20 Isolating φ(n) with Classical: Compute Φ(x) = n<x φ(n) by Φ(x) = 1 2πi 3+i 3 i ζ(s 1) ζ(s) x s s ds and move line of integration to the left. Problem: we hit the Riemann zeros, spooky beings! Can we avoid them? (Calgary) Nancy LORIA 9 / 26

21 Second Attempt with Riemann with We now consider σ(n) = N p + q. As before, a close approximation to σ(n) will reveal p. Here ζ(s)ζ(s 1) = n 1 and hence if S(x) = n<x σ(n) we get σ(n) n s Rs > 2 S(x) = 1 2πi 3+i 3 i ζ(s 1)ζ(s) xs s ds (Calgary) Nancy LORIA 10 / 26

22 Second Attempt with Riemann with We now consider σ(n) = N p + q. As before, a close approximation to σ(n) will reveal p. Here ζ(s)ζ(s 1) = n 1 and hence if S(x) = n<x σ(n) we get σ(n) n s Rs > 2 S(x) = 1 2πi 3+i 3 i ζ(s 1)ζ(s) xs s ds Problem: ζ(s) s (1 Rs)/2 as Is so cannot move the line of integration far enough to the left (to Rs 0) (Calgary) Nancy LORIA 10 / 26

23 The Mellin Transform Approach Riemann functional equation Singular Series with Multiplicative Functions (arithmetic) new method Poisson Summation formula (analytic) +? (Calgary) Nancy LORIA 11 / 26

24 The Multiplicative Function with We let r 2 and β m 0 fixed. Define σ r (n) = d β 1 1 dβ 2 2 dβ r 1 r 1 Then d 1 d 2 d r 1 n ζ(s)ζ(s β 1 ) ζ(s β r 1 ) = n=1 σ r (n) n s (Calgary) Nancy LORIA 12 / 26

25 The Test Function with We let ν R with ν > 1. Define { (1 t) ν 1 0 t 1 f ν (t) = 0 t 1 The Mellin transform of f ν is Γ(ν)Γ(s) Γ(ν + s) = 0 f ν (t)t s 1 dt (Calgary) Nancy LORIA 13 / 26

26 Inverse Mellin Transform We have with 1 2πi c+i c i ζ(s)ζ(s β 1 ) ζ(s β r 1 ) Γ(ν)Γ(s) Γ(ν + s) xs ds = n x σ r (n)f ν ( n x ) Call the right-hand side F(ν) = ( σ r (n) 1 n ) ν 1 x n x (Calgary) Nancy LORIA 14 / 26

27 Isolating p dividing N We estimate F (k) (ν) = n x σ r (n) ( 1 n ) ( ν 1 log k 1 n ) x x with If x = N + 1 we get N2 (Calgary) Nancy LORIA 15 / 26

28 Isolating p dividing N We estimate F (k) (ν) = n x σ r (n) ( 1 n ) ( ν 1 log k 1 n ) x x with If x = N + 1 we get N2 F (k) (ν) = ( 3log N) k σ r (N)N 3(ν 1) + O(N(2log N) k+r ) (Calgary) Nancy LORIA 15 / 26

29 Isolating p dividing N We estimate F (k) (ν) = n x σ r (n) ( 1 n ) ( ν 1 log k 1 n ) x x with If x = N + 1 we get N2 F (k) (ν) = ( 3log N) k σ r (N)N 3(ν 1) + O(N(2log N) k+r ) Choosing k > c 1 (ν + r)log N and supposing we can compute F (k) (ν) with good precision we get a value for σ r (N) up to an error O(N c 2 ), where c 2 as c 1. If N = pq, then as before this is sufficient to obtain p. (Calgary) Nancy LORIA 15 / 26

30 The Functional Equation with The Riemann is an meromorphic function with a single pole at 1 with residue 1 satisfying the functional equation (given here in asymmetric form) ζ(s) = (2π)s ( πs ) π Γ(1 s)sin ζ(1 s) 2 (Calgary) Nancy LORIA 16 / 26

31 New Identities with Moving the line of integration to the left and using the functional equation shows F(ν) ρ + (2πi)r β 1 β r 1 Γ(ν) (2πi) r+1 x(cos πν sinπν) {(2πi) r x} s Γ(s ν)γ(s + β 1 ) Γ(s + β r 1 ) (1+1/r) ζ(s)ζ(s + β 1 ) ζ(s + β r 1 )ds where ρ is some easily expressible residue. In view of the previous expression, it is appropriate to choose r so that x 1/r e so that the integral does not depend on x (hence N). (Calgary) Nancy LORIA 17 / 26

32 The Singular Series with Using the multiplication theorem ( Γ(s)Γ s + 1 ) ( Γ s + 2 ) ( Γ s + r 1 ) r r r = (2π) (r 1)/2 r 1/2 rs Γ(rs) we arrive at evaluating terms for F (k) (ν) which consist of derivatives of Γ(ν)(cos πν sinπν) times the following series d 1,...,d r 1 d β 1 1 d β 2 2 d β r 1 r 1 log j d r (d 1 d r ) 2 e 2πir(d 1 d r) 1/r with j k = O(log 2 x). Here r = [log x]. (Calgary) Nancy LORIA 18 / 26

33 Computing the Singular Series with How do we evaluate the singular series? Find an algorithm which computes it within e t in O(t c ) binary operations for some fixed c > 0. Can allow dependence on r to be bad, for instance e r. In general, need to evaluate d 1,...,d r 1 log j d r d c 1 1 dc 2 2 dcr r e iada 1 1 dar r with A = O(max ( 1/a 1,...,1/a r ) ) and a a r = 1. (Calgary) Nancy LORIA 19 / 26

34 Poisson Summation Approach with Compute d 1,...,d r 1 e 1 d 1 R e 1 dr R log j d r d c 1 1 dc 2 2 dcr r e iada 1 1 dar r (Calgary) Nancy LORIA 20 / 26

35 Poisson Summation Approach with Compute d 1,...,d r 1 = d 1,...,d r 1 e 1 d 1 R e 1 dr R f (d 1,...,d r ) log j d r d c 1 1 dc 2 2 dcr r e iada 1 1 dar r (Calgary) Nancy LORIA 20 / 26

36 Poisson Summation Approach with Compute d 1,...,d r 1 = d 1,...,d r 1 = x 1,...,x r Z e 1 d 1 R e 1 dr R f (d 1,...,d r ) ˆf (x 1,...,x r ) log j d r d c 1 1 dc 2 2 dcr r e iada 1 1 dar r (Calgary) Nancy LORIA 20 / 26

37 Poisson Summation Approach with Compute d 1,...,d r 1 = d 1,...,d r 1 = x 1,...,x r Z e 1 d 1 R e 1 dr R f (d 1,...,d r ) ˆf (x 1,...,x r ) log j d r d c 1 1 dc 2 2 dcr r e iada 1 1 dar r Estimate the rate of decrease of ˆf. (Calgary) Nancy LORIA 20 / 26

38 Poisson Summation Approach with Compute d 1,...,d r 1 = d 1,...,d r 1 = x 1,...,x r Z e 1 d 1 R e 1 dr R f (d 1,...,d r ) ˆf (x 1,...,x r ) log j d r d c 1 1 dc 2 2 dcr r e iada 1 1 dar r Estimate the rate of decrease of ˆf. Evaluate single coefficients. (Calgary) Nancy LORIA 20 / 26

39 Rate of Decrease of ˆf with ˆf (x 1,...,x r ) = R r e 1 u R 1 e 1 u R r log j u r u c 1 1 uc 2 2 ucr r e iaua 1 1 uar r e 2πi(x 1u 1 + +x ru r) du 1 du r We can modify contours (u m e ±iθ u m for θ > 0) to get ˆf (x 1,...,x r ) = e ±iθ R r e e±irθ u R 1 e e±irθ ur R log j e ±iθ u r u c 1 1 uc 2 2 ucr r e ie±iθ Au a 1 1 uar r e 2πieiθ ( x 1 u x r u r) du 1 du r (Calgary) Nancy LORIA 21 / 26

40 Rate of Decrease of ˆf (cont d) with ˆf (x 1,...,x r ) = e ±iθ therefore ˆf (x 1,...,x r ) R r e e±irθ u R 1 e e±irθ ur R log j e ±iθ u r u c 1 1 uc 2 2 ucr r e ie±iθ Au a 1 1 uar r e 2πieiθ ( x 1 u x r u r) du 1 du r R r e cos(rθ) u R 1 e cos(rθ) ur R log j u r u c 1 1 uc 2 2 ucr r e ±A(sin θ)ua 1 1 uar r e 2π(sin θ)( x 1 u x r u r) du 1 du r (Calgary) Nancy LORIA 22 / 26

41 Rate of Decrease of ˆf (end) with The cool case: A(sinθ)u a 1 1 uar r A(sinθ)(a 1 u a r u r ) (2π δ)(sin θ)(u u r ) i.e. if A (2π δ)min(1/a 1,...,1/a r ) for some δ > 0. (Calgary) Nancy LORIA 23 / 26

42 Rate of Decrease of ˆf (end) with The cool case: A(sinθ)u a 1 1 uar r A(sinθ)(a 1 u a r u r ) (2π δ)(sin θ)(u u r ) i.e. if A (2π δ)min(1/a 1,...,1/a r ) for some δ > 0. Problem: In our case A = (2π + O(log r/r))min(1/a 1,...,1/a r ) (Calgary) Nancy LORIA 23 / 26

43 Final Considerations Poisson Summation or purely analytic approach seems difficult to carry out for singular series. with (Calgary) Nancy LORIA 24 / 26

44 Final Considerations with Poisson Summation or purely analytic approach seems difficult to carry out for singular series. Hope one can find a method to treat the seemingly innocuous but revealing n,m 1 cos(an a m 1 a ) n 2 m 2 within e t3 when a = 1/t and A = 3π. In this case the best algorithm I found runs in O(C t ) whereas if A = π this is essentially O(t 2 ). (Calgary) Nancy LORIA 24 / 26

45 Final Considerations with Poisson Summation or purely analytic approach seems difficult to carry out for singular series. Hope one can find a method to treat the seemingly innocuous but revealing n,m 1 cos(an a m 1 a ) n 2 m 2 within e t3 when a = 1/t and A = 3π. In this case the best algorithm I found runs in O(C t ) whereas if A = π this is essentially O(t 2 ). Ultimately, this would show that factoring could be done in O(e r ) for r = log c N (subexponential). (Calgary) Nancy LORIA 24 / 26

46 Final Considerations with Poisson Summation or purely analytic approach seems difficult to carry out for singular series. Hope one can find a method to treat the seemingly innocuous but revealing n,m 1 cos(an a m 1 a ) n 2 m 2 within e t3 when a = 1/t and A = 3π. In this case the best algorithm I found runs in O(C t ) whereas if A = π this is essentially O(t 2 ). Ultimately, this would show that factoring could be done in O(e r ) for r = log c N (subexponential). Need to perform extensive numerical calculations. (Calgary) Nancy LORIA 24 / 26

47 with Completely new (?) approach to factoring. Advantage is that it transforms the arithmetic problem of factoring N into a purely analytic one (evaluation of the singular series, independent of N). Should lead to a deterministic subexponential factoring algorithm with proven running time faster than what is currently known. Preprint available on ArXiv. (Calgary) Nancy LORIA 25 / 26

48 with Thank You! (Calgary) Nancy LORIA 26 / 26

Faster deterministic integer factorisation

Faster deterministic integer factorisation David Harvey (joint work with Edgar Costa, NYU) University of New South Wales 25th October 2011 The obvious mathematical breakthrough would be the development of an easy way to factor large prime numbers

More information

Primality - Factorization

Primality - Factorization Primality - Factorization Christophe Ritzenthaler November 9, 2009 1 Prime and factorization Definition 1.1. An integer p > 1 is called a prime number (nombre premier) if it has only 1 and p as divisors.

More information

Factorization Methods: Very Quick Overview

Factorization Methods: Very Quick Overview Factorization Methods: Very Quick Overview Yuval Filmus October 17, 2012 1 Introduction In this lecture we introduce modern factorization methods. We will assume several facts from analytic number theory.

More information

Lecture 13 - Basic Number Theory.

Lecture 13 - Basic Number Theory. Lecture 13 - Basic Number Theory. Boaz Barak March 22, 2010 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that A divides B, denoted

More information

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009. Notes on Algebra

U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009. Notes on Algebra U.C. Berkeley CS276: Cryptography Handout 0.1 Luca Trevisan January, 2009 Notes on Algebra These notes contain as little theory as possible, and most results are stated without proof. Any introductory

More information

Cryptography and Network Security Chapter 8

Cryptography and Network Security Chapter 8 Cryptography and Network Security Chapter 8 Fifth Edition by William Stallings Lecture slides by Lawrie Brown (with edits by RHB) Chapter 8 Introduction to Number Theory The Devil said to Daniel Webster:

More information

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that Instructions. Answer each of the questions on your own paper, and be sure to show your work so that partial credit can be adequately assessed. Credit will not be given for answers (even correct ones) without

More information

Factoring Algorithms

Factoring Algorithms Factoring Algorithms The p 1 Method and Quadratic Sieve November 17, 2008 () Factoring Algorithms November 17, 2008 1 / 12 Fermat s factoring method Fermat made the observation that if n has two factors

More information

Doug Ravenel. October 15, 2008

Doug Ravenel. October 15, 2008 Doug Ravenel University of Rochester October 15, 2008 s about Euclid s Some s about primes that every mathematician should know (Euclid, 300 BC) There are infinitely numbers. is very elementary, and we

More information

Arithmetic algorithms for cryptology 5 October 2015, Paris. Sieves. Razvan Barbulescu CNRS and IMJ-PRG. R. Barbulescu Sieves 0 / 28

Arithmetic algorithms for cryptology 5 October 2015, Paris. Sieves. Razvan Barbulescu CNRS and IMJ-PRG. R. Barbulescu Sieves 0 / 28 Arithmetic algorithms for cryptology 5 October 2015, Paris Sieves Razvan Barbulescu CNRS and IMJ-PRG R. Barbulescu Sieves 0 / 28 Starting point Notations q prime g a generator of (F q ) X a (secret) integer

More information

Preliminary Version: December 1998

Preliminary Version: December 1998 On the Number of Prime Numbers less than a Given Quantity. (Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse.) Bernhard Riemann [Monatsberichte der Berliner Akademie, November 859.] Translated

More information

Quantum Computing Lecture 7. Quantum Factoring. Anuj Dawar

Quantum Computing Lecture 7. Quantum Factoring. Anuj Dawar Quantum Computing Lecture 7 Quantum Factoring Anuj Dawar Quantum Factoring A polynomial time quantum algorithm for factoring numbers was published by Peter Shor in 1994. polynomial time here means that

More information

Cryptography and Network Security Number Theory

Cryptography and Network Security Number Theory Cryptography and Network Security Number Theory Xiang-Yang Li Introduction to Number Theory Divisors b a if a=mb for an integer m b a and c b then c a b g and b h then b (mg+nh) for any int. m,n Prime

More information

An Overview of Integer Factoring Algorithms. The Problem

An Overview of Integer Factoring Algorithms. The Problem An Overview of Integer Factoring Algorithms Manindra Agrawal IITK / NUS The Problem Given an integer n, find all its prime divisors as efficiently as possible. 1 A Difficult Problem No efficient algorithm

More information

Public Key Cryptography: RSA and Lots of Number Theory

Public Key Cryptography: RSA and Lots of Number Theory Public Key Cryptography: RSA and Lots of Number Theory Public vs. Private-Key Cryptography We have just discussed traditional symmetric cryptography: Uses a single key shared between sender and receiver

More information

RSA Question 2. Bob thinks that p and q are primes but p isn t. Then, Bob thinks Φ Bob :=(p-1)(q-1) = φ(n). Is this true?

RSA Question 2. Bob thinks that p and q are primes but p isn t. Then, Bob thinks Φ Bob :=(p-1)(q-1) = φ(n). Is this true? RSA Question 2 Bob thinks that p and q are primes but p isn t. Then, Bob thinks Φ Bob :=(p-1)(q-1) = φ(n). Is this true? Bob chooses a random e (1 < e < Φ Bob ) such that gcd(e,φ Bob )=1. Then, d = e -1

More information

Notes on Factoring. MA 206 Kurt Bryan

Notes on Factoring. MA 206 Kurt Bryan The General Approach Notes on Factoring MA 26 Kurt Bryan Suppose I hand you n, a 2 digit integer and tell you that n is composite, with smallest prime factor around 5 digits. Finding a nontrivial factor

More information

Factoring. Factoring 1

Factoring. Factoring 1 Factoring Factoring 1 Factoring Security of RSA algorithm depends on (presumed) difficulty of factoring o Given N = pq, find p or q and RSA is broken o Rabin cipher also based on factoring Factoring like

More information

Lecture 13: Factoring Integers

Lecture 13: Factoring Integers CS 880: Quantum Information Processing 0/4/0 Lecture 3: Factoring Integers Instructor: Dieter van Melkebeek Scribe: Mark Wellons In this lecture, we review order finding and use this to develop a method

More information

Recent Breakthrough in Primality Testing

Recent Breakthrough in Primality Testing Nonlinear Analysis: Modelling and Control, 2004, Vol. 9, No. 2, 171 184 Recent Breakthrough in Primality Testing R. Šleževičienė, J. Steuding, S. Turskienė Department of Computer Science, Faculty of Physics

More information

Factoring & Primality

Factoring & Primality Factoring & Primality Lecturer: Dimitris Papadopoulos In this lecture we will discuss the problem of integer factorization and primality testing, two problems that have been the focus of a great amount

More information

Lecture 6 Black-Scholes PDE

Lecture 6 Black-Scholes PDE Lecture 6 Black-Scholes PDE Lecture Notes by Andrzej Palczewski Computational Finance p. 1 Pricing function Let the dynamics of underlining S t be given in the risk-neutral measure Q by If the contingent

More information

FACTORING. n = 2 25 + 1. fall in the arithmetic sequence

FACTORING. n = 2 25 + 1. fall in the arithmetic sequence FACTORING The claim that factorization is harder than primality testing (or primality certification) is not currently substantiated rigorously. As some sort of backward evidence that factoring is hard,

More information

Continued Fractions. Darren C. Collins

Continued Fractions. Darren C. Collins Continued Fractions Darren C Collins Abstract In this paper, we discuss continued fractions First, we discuss the definition and notation Second, we discuss the development of the subject throughout history

More information

The cyclotomic polynomials

The cyclotomic polynomials The cyclotomic polynomials Notes by G.J.O. Jameson 1. The definition and general results We use the notation e(t) = e 2πit. Note that e(n) = 1 for integers n, e(s + t) = e(s)e(t) for all s, t. e( 1 ) =

More information

I. Introduction. MPRI Cours 2-12-2. Lecture IV: Integer factorization. What is the factorization of a random number? II. Smoothness testing. F.

I. Introduction. MPRI Cours 2-12-2. Lecture IV: Integer factorization. What is the factorization of a random number? II. Smoothness testing. F. F. Morain École polytechnique MPRI cours 2-12-2 2013-2014 3/22 F. Morain École polytechnique MPRI cours 2-12-2 2013-2014 4/22 MPRI Cours 2-12-2 I. Introduction Input: an integer N; logox F. Morain logocnrs

More information

How To Solve The Prime Factorization Of N With A Polynomials

How To Solve The Prime Factorization Of N With A Polynomials THE MATHEMATICS OF PUBLIC KEY CRYPTOGRAPHY. IAN KIMING 1. Forbemærkning. Det kan forekomme idiotisk, at jeg som dansktalende og skrivende i et danskbaseret tidsskrift med en (formentlig) primært dansktalende

More information

Primality Testing and Factorization Methods

Primality Testing and Factorization Methods Primality Testing and Factorization Methods Eli Howey May 27, 2014 Abstract Since the days of Euclid and Eratosthenes, mathematicians have taken a keen interest in finding the nontrivial factors of integers,

More information

Outline. Computer Science 418. Digital Signatures: Observations. Digital Signatures: Definition. Definition 1 (Digital signature) Digital Signatures

Outline. Computer Science 418. Digital Signatures: Observations. Digital Signatures: Definition. Definition 1 (Digital signature) Digital Signatures Outline Computer Science 418 Digital Signatures Mike Jacobson Department of Computer Science University of Calgary Week 12 1 Digital Signatures 2 Signatures via Public Key Cryptosystems 3 Provable 4 Mike

More information

MEP Y9 Practice Book A

MEP Y9 Practice Book A 1 Base Arithmetic 1.1 Binary Numbers We normally work with numbers in base 10. In this section we consider numbers in base 2, often called binary numbers. In base 10 we use the digits 0, 1, 2, 3, 4, 5,

More information

RSA Attacks. By Abdulaziz Alrasheed and Fatima

RSA Attacks. By Abdulaziz Alrasheed and Fatima RSA Attacks By Abdulaziz Alrasheed and Fatima 1 Introduction Invented by Ron Rivest, Adi Shamir, and Len Adleman [1], the RSA cryptosystem was first revealed in the August 1977 issue of Scientific American.

More information

SOLUTIONS FOR PROBLEM SET 2

SOLUTIONS FOR PROBLEM SET 2 SOLUTIONS FOR PROBLEM SET 2 A: There exist primes p such that p+6k is also prime for k = 1,2 and 3. One such prime is p = 11. Another such prime is p = 41. Prove that there exists exactly one prime p such

More information

Applications of Fermat s Little Theorem and Congruences

Applications of Fermat s Little Theorem and Congruences Applications of Fermat s Little Theorem and Congruences Definition: Let m be a positive integer. Then integers a and b are congruent modulo m, denoted by a b mod m, if m (a b). Example: 3 1 mod 2, 6 4

More information

Lecture Note 5 PUBLIC-KEY CRYPTOGRAPHY. Sourav Mukhopadhyay

Lecture Note 5 PUBLIC-KEY CRYPTOGRAPHY. Sourav Mukhopadhyay Lecture Note 5 PUBLIC-KEY CRYPTOGRAPHY Sourav Mukhopadhyay Cryptography and Network Security - MA61027 Modern/Public-key cryptography started in 1976 with the publication of the following paper. W. Diffie

More information

STUDY ON ELLIPTIC AND HYPERELLIPTIC CURVE METHODS FOR INTEGER FACTORIZATION. Takayuki Yato. A Senior Thesis. Submitted to

STUDY ON ELLIPTIC AND HYPERELLIPTIC CURVE METHODS FOR INTEGER FACTORIZATION. Takayuki Yato. A Senior Thesis. Submitted to STUDY ON ELLIPTIC AND HYPERELLIPTIC CURVE METHODS FOR INTEGER FACTORIZATION by Takayuki Yato A Senior Thesis Submitted to Department of Information Science Faculty of Science The University of Tokyo on

More information

The whole of analytic number theory rests on one marvellous formula due to Leonhard Euler (1707-1783): n s = primes p. 1 p

The whole of analytic number theory rests on one marvellous formula due to Leonhard Euler (1707-1783): n s = primes p. 1 p Chapter Euler s Product Formula. The Product Formula The whole of analytic number theory rests on one marvellous formula due to Leonhard Euler (707-783): n N, n>0 n s = primes p ( p s ). Informally, we

More information

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY

CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY January 10, 2010 CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY The set of polynomials over a field F is a ring, whose structure shares with the ring of integers many characteristics.

More information

Overview of Number Theory Basics. Divisibility

Overview of Number Theory Basics. Divisibility Overview of Number Theory Basics Murat Kantarcioglu Based on Prof. Ninghui Li s Slides Divisibility Definition Given integers a and b, b 0, b divides a (denoted b a) if integer c, s.t. a = cb. b is called

More information

Mean value theorems for long Dirichlet polynomials and tails of Dirichlet series

Mean value theorems for long Dirichlet polynomials and tails of Dirichlet series ACA ARIHMEICA LXXXIV.2 998 Mean value theorems for long Dirichlet polynomials and tails of Dirichlet series by D. A. Goldston San Jose, Calif. and S. M. Gonek Rochester, N.Y. We obtain formulas for computing

More information

MATH 168: FINAL PROJECT Troels Eriksen. 1 Introduction

MATH 168: FINAL PROJECT Troels Eriksen. 1 Introduction MATH 168: FINAL PROJECT Troels Eriksen 1 Introduction In the later years cryptosystems using elliptic curves have shown up and are claimed to be just as secure as a system like RSA with much smaller key

More information

by the matrix A results in a vector which is a reflection of the given

by the matrix A results in a vector which is a reflection of the given Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that

More information

Homework until Test #2

Homework until Test #2 MATH31: Number Theory Homework until Test # Philipp BRAUN Section 3.1 page 43, 1. It has been conjectured that there are infinitely many primes of the form n. Exhibit five such primes. Solution. Five such

More information

Analysis of Binary Search algorithm and Selection Sort algorithm

Analysis of Binary Search algorithm and Selection Sort algorithm Analysis of Binary Search algorithm and Selection Sort algorithm In this section we shall take up two representative problems in computer science, work out the algorithms based on the best strategy to

More information

Factoring integers, Producing primes and the RSA cryptosystem Harish-Chandra Research Institute

Factoring integers, Producing primes and the RSA cryptosystem Harish-Chandra Research Institute RSA cryptosystem HRI, Allahabad, February, 2005 0 Factoring integers, Producing primes and the RSA cryptosystem Harish-Chandra Research Institute Allahabad (UP), INDIA February, 2005 RSA cryptosystem HRI,

More information

Elements of Applied Cryptography Public key encryption

Elements of Applied Cryptography Public key encryption Network Security Elements of Applied Cryptography Public key encryption Public key cryptosystem RSA and the factorization problem RSA in practice Other asymmetric ciphers Asymmetric Encryption Scheme Let

More information

Is n a Prime Number? Manindra Agrawal. March 27, 2006, Delft. IIT Kanpur

Is n a Prime Number? Manindra Agrawal. March 27, 2006, Delft. IIT Kanpur Is n a Prime Number? Manindra Agrawal IIT Kanpur March 27, 2006, Delft Manindra Agrawal (IIT Kanpur) Is n a Prime Number? March 27, 2006, Delft 1 / 47 Overview 1 The Problem 2 Two Simple, and Slow, Methods

More information

Chapter 8 - Power Density Spectrum

Chapter 8 - Power Density Spectrum EE385 Class Notes 8/8/03 John Stensby Chapter 8 - Power Density Spectrum Let X(t) be a WSS random process. X(t) has an average power, given in watts, of E[X(t) ], a constant. his total average power is

More information

Factoring Algorithms

Factoring Algorithms Institutionen för Informationsteknologi Lunds Tekniska Högskola Department of Information Technology Lund University Cryptology - Project 1 Factoring Algorithms The purpose of this project is to understand

More information

Determining the Optimal Combination of Trial Division and Fermat s Factorization Method

Determining the Optimal Combination of Trial Division and Fermat s Factorization Method Determining the Optimal Combination of Trial Division and Fermat s Factorization Method Joseph C. Woodson Home School P. O. Box 55005 Tulsa, OK 74155 Abstract The process of finding the prime factorization

More information

Computer and Network Security

Computer and Network Security MIT 6.857 Computer and Networ Security Class Notes 1 File: http://theory.lcs.mit.edu/ rivest/notes/notes.pdf Revision: December 2, 2002 Computer and Networ Security MIT 6.857 Class Notes by Ronald L. Rivest

More information

A simple and fast algorithm for computing exponentials of power series

A simple and fast algorithm for computing exponentials of power series A simple and fast algorithm for computing exponentials of power series Alin Bostan Algorithms Project, INRIA Paris-Rocquencourt 7815 Le Chesnay Cedex France and Éric Schost ORCCA and Computer Science Department,

More information

Notes 11: List Decoding Folded Reed-Solomon Codes

Notes 11: List Decoding Folded Reed-Solomon Codes Introduction to Coding Theory CMU: Spring 2010 Notes 11: List Decoding Folded Reed-Solomon Codes April 2010 Lecturer: Venkatesan Guruswami Scribe: Venkatesan Guruswami At the end of the previous notes,

More information

Study of algorithms for factoring integers and computing discrete logarithms

Study of algorithms for factoring integers and computing discrete logarithms Study of algorithms for factoring integers and computing discrete logarithms First Indo-French Workshop on Cryptography and Related Topics (IFW 2007) June 11 13, 2007 Paris, France Dr. Abhijit Das Department

More information

Public Key Cryptography and RSA. Review: Number Theory Basics

Public Key Cryptography and RSA. Review: Number Theory Basics Public Key Cryptography and RSA Murat Kantarcioglu Based on Prof. Ninghui Li s Slides Review: Number Theory Basics Definition An integer n > 1 is called a prime number if its positive divisors are 1 and

More information

Solutions to TOPICS IN ALGEBRA I.N. HERSTEIN. Part II: Group Theory

Solutions to TOPICS IN ALGEBRA I.N. HERSTEIN. Part II: Group Theory Solutions to TOPICS IN ALGEBRA I.N. HERSTEIN Part II: Group Theory No rights reserved. Any part of this work can be reproduced or transmitted in any form or by any means. Version: 1.1 Release: Jan 2013

More information

Introduction. Appendix D Mathematical Induction D1

Introduction. Appendix D Mathematical Induction D1 Appendix D Mathematical Induction D D Mathematical Induction Use mathematical induction to prove a formula. Find a sum of powers of integers. Find a formula for a finite sum. Use finite differences to

More information

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points

Introduction to Algebraic Geometry. Bézout s Theorem and Inflection Points Introduction to Algebraic Geometry Bézout s Theorem and Inflection Points 1. The resultant. Let K be a field. Then the polynomial ring K[x] is a unique factorisation domain (UFD). Another example of a

More information

Factoring integers and Producing primes

Factoring integers and Producing primes Factoring integers,..., RSA Erbil, Kurdistan 0 Lecture in Number Theory College of Sciences Department of Mathematics University of Salahaddin Debember 4, 2014 Factoring integers and Producing primes Francesco

More information

OSTROWSKI FOR NUMBER FIELDS

OSTROWSKI FOR NUMBER FIELDS OSTROWSKI FOR NUMBER FIELDS KEITH CONRAD Ostrowski classified the nontrivial absolute values on Q: up to equivalence, they are the usual (archimedean) absolute value and the p-adic absolute values for

More information

ARBITRAGE-FREE OPTION PRICING MODELS. Denis Bell. University of North Florida

ARBITRAGE-FREE OPTION PRICING MODELS. Denis Bell. University of North Florida ARBITRAGE-FREE OPTION PRICING MODELS Denis Bell University of North Florida Modelling Stock Prices Example American Express In mathematical finance, it is customary to model a stock price by an (Ito) stochatic

More information

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may Number Theory Divisibility and Primes Definition. If a and b are integers and there is some integer c such that a = b c, then we say that b divides a or is a factor or divisor of a and write b a. Definition

More information

Software Tool for Implementing RSA Algorithm

Software Tool for Implementing RSA Algorithm Software Tool for Implementing RSA Algorithm Adriana Borodzhieva, Plamen Manoilov Rousse University Angel Kanchev, Rousse, Bulgaria Abstract: RSA is one of the most-common used algorithms for public-key

More information

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen

CONTINUED FRACTIONS AND FACTORING. Niels Lauritzen CONTINUED FRACTIONS AND FACTORING Niels Lauritzen ii NIELS LAURITZEN DEPARTMENT OF MATHEMATICAL SCIENCES UNIVERSITY OF AARHUS, DENMARK EMAIL: [email protected] URL: http://home.imf.au.dk/niels/ Contents

More information

FFT Algorithms. Chapter 6. Contents 6.1

FFT Algorithms. Chapter 6. Contents 6.1 Chapter 6 FFT Algorithms Contents Efficient computation of the DFT............................................ 6.2 Applications of FFT................................................... 6.6 Computing DFT

More information

8 Divisibility and prime numbers

8 Divisibility and prime numbers 8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express

More information

SECTION 10-2 Mathematical Induction

SECTION 10-2 Mathematical Induction 73 0 Sequences and Series 6. Approximate e 0. using the first five terms of the series. Compare this approximation with your calculator evaluation of e 0.. 6. Approximate e 0.5 using the first five terms

More information

http://wrap.warwick.ac.uk/

http://wrap.warwick.ac.uk/ Original citation: Hart, William B.. (2012) A one line factoring algorithm. Journal of the Australian Mathematical Society, Volume 92 (Number 1). pp. 61-69. ISSN 1446-7887 Permanent WRAP url: http://wrap.warwick.ac.uk/54707/

More information

9.2 Summation Notation

9.2 Summation Notation 9. Summation Notation 66 9. Summation Notation In the previous section, we introduced sequences and now we shall present notation and theorems concerning the sum of terms of a sequence. We begin with a

More information

ELLIPTIC CURVES AND LENSTRA S FACTORIZATION ALGORITHM

ELLIPTIC CURVES AND LENSTRA S FACTORIZATION ALGORITHM ELLIPTIC CURVES AND LENSTRA S FACTORIZATION ALGORITHM DANIEL PARKER Abstract. This paper provides a foundation for understanding Lenstra s Elliptic Curve Algorithm for factoring large numbers. We give

More information

3 1. Note that all cubes solve it; therefore, there are no more

3 1. Note that all cubes solve it; therefore, there are no more Math 13 Problem set 5 Artin 11.4.7 Factor the following polynomials into irreducible factors in Q[x]: (a) x 3 3x (b) x 3 3x + (c) x 9 6x 6 + 9x 3 3 Solution: The first two polynomials are cubics, so if

More information

Shor s algorithm and secret sharing

Shor s algorithm and secret sharing Shor s algorithm and secret sharing Libor Nentvich: QC 23 April 2007: Shor s algorithm and secret sharing 1/41 Goals: 1 To explain why the factoring is important. 2 To describe the oldest and most successful

More information

3. Mathematical Induction

3. Mathematical Induction 3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)

More information

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson JUST THE MATHS UNIT NUMBER 1.8 ALGEBRA 8 (Polynomials) by A.J.Hobson 1.8.1 The factor theorem 1.8.2 Application to quadratic and cubic expressions 1.8.3 Cubic equations 1.8.4 Long division of polynomials

More information

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m) Chapter 23 Squares Modulo p Revised Version of Chapter 23 We learned long ago how to solve linear congruences ax c (mod m) (see Chapter 8). It s now time to take the plunge and move on to quadratic equations.

More information

Settling a Question about Pythagorean Triples

Settling a Question about Pythagorean Triples Settling a Question about Pythagorean Triples TOM VERHOEFF Department of Mathematics and Computing Science Eindhoven University of Technology P.O. Box 513, 5600 MB Eindhoven, The Netherlands E-Mail address:

More information

Computing exponents modulo a number: Repeated squaring

Computing exponents modulo a number: Repeated squaring Computing exponents modulo a number: Repeated squaring How do you compute (1415) 13 mod 2537 = 2182 using just a calculator? Or how do you check that 2 340 mod 341 = 1? You can do this using the method

More information

RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A

RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A RAJALAKSHMI ENGINEERING COLLEGE MA 26 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS. Solve (D 2 + D 2)y = 0. 2. Solve (D 2 + 6D + 9)y = 0. PART A 3. Solve (D 4 + 4)x = 0 where D = d dt 4. Find Particular Integral:

More information

Systems with Persistent Memory: the Observation Inequality Problems and Solutions

Systems with Persistent Memory: the Observation Inequality Problems and Solutions Chapter 6 Systems with Persistent Memory: the Observation Inequality Problems and Solutions Facts that are recalled in the problems wt) = ut) + 1 c A 1 s ] R c t s)) hws) + Ks r)wr)dr ds. 6.1) w = w +

More information

An Introduction to the RSA Encryption Method

An Introduction to the RSA Encryption Method April 17, 2012 Outline 1 History 2 3 4 5 History RSA stands for Rivest, Shamir, and Adelman, the last names of the designers It was first published in 1978 as one of the first public-key crytographic systems

More information

Notes on Network Security Prof. Hemant K. Soni

Notes on Network Security Prof. Hemant K. Soni Chapter 9 Public Key Cryptography and RSA Private-Key Cryptography traditional private/secret/single key cryptography uses one key shared by both sender and receiver if this key is disclosed communications

More information

The application of prime numbers to RSA encryption

The application of prime numbers to RSA encryption The application of prime numbers to RSA encryption Prime number definition: Let us begin with the definition of a prime number p The number p, which is a member of the set of natural numbers N, is considered

More information

QUANTUM COMPUTERS AND CRYPTOGRAPHY. Mark Zhandry Stanford University

QUANTUM COMPUTERS AND CRYPTOGRAPHY. Mark Zhandry Stanford University QUANTUM COMPUTERS AND CRYPTOGRAPHY Mark Zhandry Stanford University Classical Encryption pk m c = E(pk,m) sk m = D(sk,c) m??? Quantum Computing Attack pk m aka Post-quantum Crypto c = E(pk,m) sk m = D(sk,c)

More information

Some practice problems for midterm 2

Some practice problems for midterm 2 Some practice problems for midterm 2 Kiumars Kaveh November 15, 2011 Problem: What is the remainder of 6 2000 when divided by 11? Solution: This is a long-winded way of asking for the value of 6 2000 mod

More information

ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION

ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION ALGEBRAIC APPROACH TO COMPOSITE INTEGER FACTORIZATION Aldrin W. Wanambisi 1* School of Pure and Applied Science, Mount Kenya University, P.O box 553-50100, Kakamega, Kenya. Shem Aywa 2 Department of Mathematics,

More information

Public Key (asymmetric) Cryptography

Public Key (asymmetric) Cryptography Public-Key Cryptography UNIVERSITA DEGLI STUDI DI PARMA Dipartimento di Ingegneria dell Informazione Public Key (asymmetric) Cryptography Luca Veltri (mail.to: [email protected]) Course of Network Security,

More information

Integer Factorization

Integer Factorization Integer Factorization Lecture given at the Joh. Gutenberg-Universität, Mainz, July 23, 1992 by ÖYSTEIN J. RÖDSETH University of Bergen, Department of Mathematics, Allégt. 55, N-5007 Bergen, Norway 1 Introduction

More information

Integer Factorization

Integer Factorization Master Thesis D I K U Department of Computer Science University of Copenhagen Fall 2005 This document is typeset using L A TEX 2ε. ii Abstract Many public key cryptosystems depend on

More information

8 Primes and Modular Arithmetic

8 Primes and Modular Arithmetic 8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.

More information

Number Theory Hungarian Style. Cameron Byerley s interpretation of Csaba Szabó s lectures

Number Theory Hungarian Style. Cameron Byerley s interpretation of Csaba Szabó s lectures Number Theory Hungarian Style Cameron Byerley s interpretation of Csaba Szabó s lectures August 20, 2005 2 0.1 introduction Number theory is a beautiful subject and even cooler when you learn about it

More information

Integer Factorization using the Quadratic Sieve

Integer Factorization using the Quadratic Sieve Integer Factorization using the Quadratic Sieve Chad Seibert* Division of Science and Mathematics University of Minnesota, Morris Morris, MN 56567 [email protected] March 16, 2011 Abstract We give

More information

Principles of Public Key Cryptography. Applications of Public Key Cryptography. Security in Public Key Algorithms

Principles of Public Key Cryptography. Applications of Public Key Cryptography. Security in Public Key Algorithms Principles of Public Key Cryptography Chapter : Security Techniques Background Secret Key Cryptography Public Key Cryptography Hash Functions Authentication Chapter : Security on Network and Transport

More information

0.4 FACTORING POLYNOMIALS

0.4 FACTORING POLYNOMIALS 36_.qxd /3/5 :9 AM Page -9 SECTION. Factoring Polynomials -9. FACTORING POLYNOMIALS Use special products and factorization techniques to factor polynomials. Find the domains of radical expressions. Use

More information

Using the ac Method to Factor

Using the ac Method to Factor 4.6 Using the ac Method to Factor 4.6 OBJECTIVES 1. Use the ac test to determine factorability 2. Use the results of the ac test 3. Completely factor a trinomial In Sections 4.2 and 4.3 we used the trial-and-error

More information

Cyclotomic Extensions

Cyclotomic Extensions Chapter 7 Cyclotomic Extensions A cyclotomic extension Q(ζ n ) of the rationals is formed by adjoining a primitive n th root of unity ζ n. In this chapter, we will find an integral basis and calculate

More information

Mathematics of Internet Security. Keeping Eve The Eavesdropper Away From Your Credit Card Information

Mathematics of Internet Security. Keeping Eve The Eavesdropper Away From Your Credit Card Information The : Keeping Eve The Eavesdropper Away From Your Credit Card Information Department of Mathematics North Dakota State University 16 September 2010 Science Cafe Introduction Disclaimer: is not an internet

More information

Lecture 3: One-Way Encryption, RSA Example

Lecture 3: One-Way Encryption, RSA Example ICS 180: Introduction to Cryptography April 13, 2004 Lecturer: Stanislaw Jarecki Lecture 3: One-Way Encryption, RSA Example 1 LECTURE SUMMARY We look at a different security property one might require

More information