View by Category

The presentation will start after a short

(15 second) video ad from one of our sponsors.

Hot tip: Video ads won’t appear to registered users who are logged in. And it’s free to register and free to log in!

(15 second) video ad from one of our sponsors.

Hot tip: Video ads won’t appear to registered users who are logged in. And it’s free to register and free to log in!

Loading...

PPT – Prime factorization PowerPoint presentation | free to download

The Adobe Flash plugin is needed to view this content

About This Presentation

Write a Comment

User Comments (0)

Transcript and Presenter's Notes

Prime factorization

- implementations in a functional language

Introduction

Introduction

Fermats algorithm

Pollards rho algorithm

- Goal
- Get a better understanding of the

implementation and application of different

factorization algorithms (Fermats, Pollards

rho, Quadratic sieve, Elliptic curve)

Elliptic curve factorization

Summary

Fermats algorithm

Introduction

Fermats algorithm

- Observation
- All composite numbers can be

written as the difference between two squared

numbers, i.e.

Pollards rho algorithm

Elliptic curve factorization

Summary

Fermats algorithm

Introduction

- Algorithm
- Assume n is an odd number(otherwise, factor out

2 until is odd). - Define ,
- Iteratively find .If is a

square , then and are factors

of .If then stop and report

as a prime.

Fermats algorithm

Pollards rho algorithm

Elliptic curve factorization

Summary

Fermats algorithm

Introduction

Fermats algorithm

Pollards rho algorithm

Elliptic curve factorization

- Is the algorithm correct?
- Does it terminate?

Summary

Fermats algorithm

Introduction

- Correctness
- The algorithm is correct iff
- Assume . Then

Fermats algorithm

Pollards rho algorithm

Elliptic curve factorization

Summary

Now assume . Then

Leading to the factor

Fermats algorithm

Introduction

Fermats algorithm

Pollards rho algorithm

- Termination
- Termination follows trivially from the

fact that we iterate over a finite range.

Elliptic curve factorization

Summary

Fermats algorithm

Introduction

- Code

Fermats algorithm

(define (fermat-single n) (let ((s (get-sqrt

n)) (r (cdr s)) (m (- (expt r

2) n)) (r-stop (/ ( n 1) 2)))

(letrec ((iterator (lambda ()

(if (gt r r-stop)

(cons n '()) (begin

(set! s (get-sqrt m))

(if (car s) (cons

( r (cdr s)) (- r (cdr s)))

(begin (set! m

( m ( 2 r) 1))

(set! r ( r 1))

(iterator)))))))) (if (car s)

(cons r r) (iterator)))))

Pollards rho algorithm

Elliptic curve factorization

Summary

Fermats algorithm

Introduction

- Running times

Fermats algorithm

Pollards rho algorithm

Elliptic curve factorization

Summary

Pollards rho algorithm

Introduction

Fermats algorithm

- Observation
- If and are in different

residue class modulo , but in the same class

modulo a proper divisor of ,then

will result in a proper divisor of .

Pollards rho algorithm

Elliptic curve factorization

Summary

Pollards rho algorithm

Introduction

- Algorithm
- Choose a random function
- Define , , ,and
- Iteratively findIf then is a

factorIf then go to step 1or report

as maybe prime

Fermats algorithm

Pollards rho algorithm

Elliptic curve factorization

Summary

Pollards rho algorithm

Introduction

Fermats algorithm

Pollards rho algorithm

Elliptic curve factorization

Is the algorithm correct? Does it terminate?

Summary

Pollards rho algorithm

Introduction

- Correctness
- Since the range of is

finite,the and values must cycle.It

should be clear that cycles twice as fast as

, so if we go through a cycle with then

, so .If, however,

, then is a non-trivial factor of .

Fermats algorithm

Pollards rho algorithm

Elliptic curve factorization

Summary

Pollards rho algorithm

Introduction

Fermats algorithm

- Termination
- Termination follows from the

cycling of the values and guaranteed termination

when cycling has happened.

Pollards rho algorithm

Elliptic curve factorization

Summary

Pollards rho algorithm

Introduction

- Code

Fermats algorithm

(define (pollard-rho-single n) (let ((a 2)

(b 2) (c 1)) (letrec ((iterator

(lambda () (begin

(set! a (modulo ( (expt a 2) c)

n)) (set! b (modulo ( (expt b

2) c) n)) (set! b (modulo (

(expt b 2) c) n)) (let ((d (gcd

(- a b) n))) (cond ((and (gt d

1) (lt d n)) (cons d

(quotient n d))) (( d

n) (if ( c 2)

(cons n '())

(begin (set! a 2)

(set! b 2)

(set! c ( c 1))

(iterator)))) (else

(iterator)))))))) (iterator))))

Pollards rho algorithm

Elliptic curve factorization

Summary

Pollards rho algorithm

Introduction

- Running times

Fermats algorithm

? The algorithm is too fasteven without

optimizationswhen the number has any small

factors (smaller than 10 digits). I have had

problems finding enough values to analyse

onthat give non-eligible running times,but are

still feasible to factorize. (It factors

47189479742142798147947497147589257979528526917505

641 into3012764903 x 1566318025517134024710440446

4575395373798447in 2,5s)

Pollards rho algorithm

Elliptic curve factorization

Summary

Pollards rho algorithm

Introduction

- Running times

Fermats algorithm

Pollards rho algorithm

Elliptic curve factorization

Summary

Elliptic curve factorization

Introduction

Fermats algorithm

- Observation
- Iteratively applying a group function to a

series of points starting on a random point in a

group defined by an elliptic curve modulo the

number we are factorizing we will eventually find

a generator for the subgroup we iterate over.

Using the order of this subgroup, we can

determine a factor of n.

Pollards rho algorithm

Elliptic curve factorization

Summary

Elliptic curve factorization

Introduction

- Code

Fermats algorithm

(define (elliptic-curve-single n) (let ((a 1)

(p (cons 0 5)) (e 2)) (letrec

((iterator (lambda ()

(begin (set! p (point-expt p e

a)) (set! e ( e 1))

(if (not (pair? p)) (if

(symbol? p) (cons n

'()) (cons p (quotient n

p))) (iterator))))))

(iterator)))))

Pollards rho algorithm

Elliptic curve factorization

Summary

Elliptic curve factorization

Introduction

- Running times

Fermats algorithm

Pollards rho algorithm

Elliptic curve factorization

Summary

Summary

Introduction

Fermats algorithm

Pollards rho algorithm

- The following insight was gained through the

project - The elliptic curve algorithm is not fast in its

natural form, but becomes fast as elliptic

curve knowledge is applied as optimizations. - The implementation of the sieving process in

quadratic sieve is complex and confusing - A better understanding of the implemented

algorithms

Elliptic curve factorization

Summary

About PowerShow.com

PowerShow.com is a leading presentation/slideshow sharing website. Whether your application is business, how-to, education, medicine, school, church, sales, marketing, online training or just for fun, PowerShow.com is a great resource. And, best of all, most of its cool features are free and easy to use.

You can use PowerShow.com to find and download example online PowerPoint ppt presentations on just about any topic you can imagine so you can learn how to improve your own slides and presentations for free. Or use it to find and download high-quality how-to PowerPoint ppt presentations with illustrated or animated slides that will teach you how to do something new, also for free. Or use it to upload your own PowerPoint slides so you can share them with your teachers, class, students, bosses, employees, customers, potential investors or the world. Or use it to create really cool photo slideshows - with 2D and 3D transitions, animation, and your choice of music - that you can share with your Facebook friends or Google+ circles. That's all free as well!

For a small fee you can get the industry's best online privacy or publicly promote your presentations and slide shows with top rankings. But aside from that it's free. We'll even convert your presentations and slide shows into the universal Flash format with all their original multimedia glory, including animation, 2D and 3D transition effects, embedded music or other audio, or even video embedded in slides. All for free. Most of the presentations and slideshows on PowerShow.com are free to view, many are even free to download. (You can choose whether to allow people to download your original PowerPoint presentations and photo slideshows for a fee or free or not at all.) Check out PowerShow.com today - for FREE. There is truly something for everyone!

You can use PowerShow.com to find and download example online PowerPoint ppt presentations on just about any topic you can imagine so you can learn how to improve your own slides and presentations for free. Or use it to find and download high-quality how-to PowerPoint ppt presentations with illustrated or animated slides that will teach you how to do something new, also for free. Or use it to upload your own PowerPoint slides so you can share them with your teachers, class, students, bosses, employees, customers, potential investors or the world. Or use it to create really cool photo slideshows - with 2D and 3D transitions, animation, and your choice of music - that you can share with your Facebook friends or Google+ circles. That's all free as well!

For a small fee you can get the industry's best online privacy or publicly promote your presentations and slide shows with top rankings. But aside from that it's free. We'll even convert your presentations and slide shows into the universal Flash format with all their original multimedia glory, including animation, 2D and 3D transition effects, embedded music or other audio, or even video embedded in slides. All for free. Most of the presentations and slideshows on PowerShow.com are free to view, many are even free to download. (You can choose whether to allow people to download your original PowerPoint presentations and photo slideshows for a fee or free or not at all.) Check out PowerShow.com today - for FREE. There is truly something for everyone!

presentations for free. Or use it to find and download high-quality how-to PowerPoint ppt presentations with illustrated or animated slides that will teach you how to do something new, also for free. Or use it to upload your own PowerPoint slides so you can share them with your teachers, class, students, bosses, employees, customers, potential investors or the world. Or use it to create really cool photo slideshows - with 2D and 3D transitions, animation, and your choice of music - that you can share with your Facebook friends or Google+ circles. That's all free as well!

For a small fee you can get the industry's best online privacy or publicly promote your presentations and slide shows with top rankings. But aside from that it's free. We'll even convert your presentations and slide shows into the universal Flash format with all their original multimedia glory, including animation, 2D and 3D transition effects, embedded music or other audio, or even video embedded in slides. All for free. Most of the presentations and slideshows on PowerShow.com are free to view, many are even free to download. (You can choose whether to allow people to download your original PowerPoint presentations and photo slideshows for a fee or free or not at all.) Check out PowerShow.com today - for FREE. There is truly something for everyone!

For a small fee you can get the industry's best online privacy or publicly promote your presentations and slide shows with top rankings. But aside from that it's free. We'll even convert your presentations and slide shows into the universal Flash format with all their original multimedia glory, including animation, 2D and 3D transition effects, embedded music or other audio, or even video embedded in slides. All for free. Most of the presentations and slideshows on PowerShow.com are free to view, many are even free to download. (You can choose whether to allow people to download your original PowerPoint presentations and photo slideshows for a fee or free or not at all.) Check out PowerShow.com today - for FREE. There is truly something for everyone!

Recommended

«

/ »

Page of

«

/ »

Promoted Presentations

Related Presentations

Page of

Page of

CrystalGraphics Sales Tel: (800) 394-0700 x 1 or Send an email

Home About Us Terms and Conditions Privacy Policy Contact Us Send Us Feedback

Copyright 2015 CrystalGraphics, Inc. — All rights Reserved. PowerShow.com is a trademark of CrystalGraphics, Inc.

Copyright 2015 CrystalGraphics, Inc. — All rights Reserved. PowerShow.com is a trademark of CrystalGraphics, Inc.

The PowerPoint PPT presentation: "Prime factorization" is the property of its rightful owner.

Do you have PowerPoint slides to share? If so, share your PPT presentation slides online with PowerShow.com. It's FREE!