Skip to Content
Computer Security and Cryptography
book

Computer Security and Cryptography

by Alan G. Konheim
January 2007
Beginner
544 pages
14h 21m
English
Wiley-Interscience
Content preview from Computer Security and Cryptography

13.4 POLLARD'S ρ-ALGORITHM [POLLARD, 1978]

If positive integers x and y in image can be found so that 1 < d = gcd{x − y, N} < N, then d is a factor of N.

Pairs (x, y) can be found by random trials, hence the name Monte Carlo; accordingly, a random function f mapping the integers in image into themselves is selected. The sequence x1, x2, … is determined by the rule

image

As we observed in Chapter 9, the f(n) must repeat before N − 1 iterations and the sequence

image

has

  • A tail x1 → x2 = f(x1) → · · · → xk = f(xk−1), and
  • Then enters a loop or cycle xk = f(xk−1) → … → xj+k = f(xj+k−1) = xk.

The name ρ chosen by Pollard for his algorithm is perfectly clear; the iterates of the mapping f appear like the Greek letter ρ.

Unfortunately N = O (2100) so that j + k could be very large and we cannot wait · · · and we do not have to, because of the Birthday Paradox.

13.4.1 The Birthday Paradox

What is the probability Pr{En} that in a class of n students, that no day is the birthday of two or more students?

Answer: Assuming that a year contains 365 days, the probability that no two students in a class of n have the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Cryptography and Network Security

Cryptography and Network Security

Ajay Kumar, S. Bose

Publisher Resources

ISBN: 9780471947837Purchase book