Extended Euclidean Algorithm
Last updated
Last updated
The Extended Euclidean Algorithm not only computes , but also finds integers and that satisfy:
The pair is also known as the .
The Extended Euclidean Algorithm is used to compute the of an integer, which is essential in many cryptographic algorithms like RSA, ECC, and digital signatures.
Base Case:
If , then:
which satisfies the identity:
Inductive Hypothesis: Assume the recursive call returns such that:
Then:
Now define:
So:
which proves that the identity holds at each step.
Written by from