Wikipedia Article of the Day
Randomly selected articles from my personal browsing history
In arithmetic and computer programming, the extended Euclidean algorithm is an extension to the Euclidean algorithm, and computes, in addition to the greatest common divisor (gcd) of integers a and b, also the coefficients of Bézout's identity, which are integers x and y such that a x + b y = gcd ( a , b ) . {\displaystyle ax+by=\gcd(a,b).} This is a certifying algorithm, because the gcd is the only number that can simultaneously satisfy this equation and divide the inputs. It allows one to compute also, with almost no extra cost, the quotients of a and b by their greatest common divisor. Extended Euclidean algorithm also refers to a very similar algorithm for computing the polynomial greatest common divisor and the coefficients of Bézout's identity of two univariate polynomials. The extended Euclidean algorithm is particularly useful when a and b are coprime. With that provision, x is the modular multiplicative inverse of a modulo b, and y is the modular multiplicative inverse of b modulo a. Similarly, the polynomial extended Euclidean algorithm allows one to compute the multiplicative inverse in algebraic field extensions and, in particular in finite fields of non prime order. It follows that both extended Euclidean algorithms are widely used in cryptography. In particular, the computation of the modular multiplicative inverse is an essential step in the derivation of key-pairs in the RSA public-key encryption method.
History
Sep 18
Double-entry bookkeeping
Sep 17
Relativistic electromagnetism
Sep 16
97 (number)
Sep 15
Binomial distribution
Sep 14
Analemma
Sep 13
Marvin Heemeyer
Sep 12
Karatsuba algorithm
Sep 11
Ramer–Douglas–Peucker algorithm
Sep 10
Cross-site scripting
Sep 9
Happy Hacking Keyboard
Sep 8
Salted Challenge Response Authentication Mechanism
Sep 7
KHive
Sep 6
Interplanetary Internet
Sep 5
KHive
Sep 4
The Memory Police
Sep 3
Disjoint-set data structure
Sep 2
Systems engineering
Sep 1
12ft
Aug 31
Speculative fiction
Aug 30
Lace card
Aug 29
40 Eridani
Aug 28
Weird fiction
Aug 27
Dark forest hypothesis
Aug 26
Pointing and calling
Aug 25
The Maybe Man
Aug 24
Sean Astin
Aug 23
Planet of the Apes
Aug 22
Shamir's secret sharing
Aug 21
Application binary interface
Aug 20
Key encapsulation mechanism