{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

31 - Chapter 31 Euclidean Algorithm Euclidean Algorithm...

Info icon This preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop Slide #31-1 Chapter 31: Euclidean Algorithm Euclidean Algorithm Extended Euclidean Algorithm Solving ax mod n = 1 Solving ax mod n = b
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop Slide #31-2 Overview Solving modular equations arises in cryptography Euclidean Algorithm From Euclid to solving ax mod n = 1 From ax mod n = 1 to solving ax mod n = b
Image of page 2
June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop Slide #31-3 Euclidean Algorithm Given positive integers a and b , find their greatest common divisor Idea if x is the greatest common divisor of a and b , then x divides r = a b reduces problem to finding largest x that divides r and b iterate
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop Slide #31-4 Example 1 Take a = 15, b = 12 a b q r 15 12 1 3 q = 15/12 = 1 r = 15 – 1 × 12 12 3 4 0 q = 12/3 = 4 r = 12 – 4 × 3 so gcd (15, 12) = 3 The b for which r is 0
Image of page 4
June 1, 2004 Computer Security: Art and Science ©2002-2004 Matt Bishop
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern