Global Information Lookup Global Information

Extended Euclidean algorithm information


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

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.

and 22 Related for: Extended Euclidean algorithm information

Request time (Page generated in 0.8373 seconds.)

Extended Euclidean algorithm

Last Update:

arithmetic and computer programming, the extended Euclidean algorithm is an extension to the Euclidean algorithm, and computes, in addition to the greatest...

Word Count : 4452

Euclidean algorithm

Last Update:

In mathematics, the Euclidean algorithm, or Euclid's algorithm, is an efficient method for computing the greatest common divisor (GCD) of two integers...

Word Count : 15118

Binary GCD algorithm

Last Update:

The binary GCD algorithm, also known as Stein's algorithm or the binary Euclidean algorithm, is an algorithm that computes the greatest common divisor...

Word Count : 2028

Euclidean

Last Update:

a quotient and a remainder Euclidean algorithm, a method for finding greatest common divisors Extended Euclidean algorithm, a method for solving the Diophantine...

Word Count : 312

Euclidean domain

Last Update:

but when an explicit algorithm for Euclidean division is known, one may use the Euclidean algorithm and extended Euclidean algorithm to compute greatest...

Word Count : 2440

Modular multiplicative inverse

Last Update:

RSA algorithm. A benefit for the computer implementation of these applications is that there exists a very fast algorithm (the extended Euclidean algorithm)...

Word Count : 3639

BCH code

Last Update:

Sugiyama's adaptation of the Extended Euclidean algorithm. Correction of unreadable characters could be incorporated to the algorithm easily as well. Let k 1...

Word Count : 10768

Greatest common divisor

Last Update:

identity. Numbers p and q like this can be computed with the extended Euclidean algorithm. gcd(a, 0) = |a|, for a ≠ 0, since any number is a divisor of...

Word Count : 4674

Chinese remainder theorem

Last Update:

m_{1}} and m 2 {\displaystyle m_{2}} may be computed by the extended Euclidean algorithm. A solution is given by x = a 1 m 2 n 2 + a 2 m 1 n 1 . {\displaystyle...

Word Count : 7184

Digital Signature Algorithm

Last Update:

computed before the message is known. It may be computed using the extended Euclidean algorithm or using Fermat's little theorem as k q − 2 mod q {\displaystyle...

Word Count : 2147

Modular exponentiation

Last Update:

the modular multiplicative inverse d of b modulo m using the extended Euclidean algorithm. That is: c = be mod m = d−e mod m, where e < 0 and b ⋅ d ≡ 1...

Word Count : 2802

Polynomial greatest common divisor

Last Update:

polynomial GCD allows extending to univariate polynomials all the properties that may be deduced from the Euclidean algorithm and Euclidean division. Moreover...

Word Count : 7865

Montgomery modular multiplication

Last Update:

are coprime. It can be constructed using the extended Euclidean algorithm. The extended Euclidean algorithm efficiently determines integers R′ and N′ that...

Word Count : 3847

Finite field

Last Update:

of an element may be computed by using the extended Euclidean algorithm (see Extended Euclidean algorithm § Modular integers). Let F be a finite field...

Word Count : 6162

Guarded Command Language

Last Update:

b hold the greatest common divisor of A and B. Dijkstra sees in this algorithm a way of synchronizing two infinite cycles a := a - b and b := b - a in...

Word Count : 1441

List of algorithms

Last Update:

Pollard's rho algorithm for logarithms Pohlig–Hellman algorithm Euclidean algorithm: computes the greatest common divisor Extended Euclidean algorithm: also solves...

Word Count : 7843

Euclidean division

Last Update:

are called integer division algorithms, the best known of which being long division. Euclidean division, and algorithms to compute it, are fundamental...

Word Count : 2227

ElGamal encryption

Last Update:

the modular multiplicative inverse can be computed using the extended Euclidean algorithm. An alternative is to compute s − 1 {\displaystyle s^{-1}} as...

Word Count : 1477

Travelling salesman problem

Last Update:

deterministic algorithm and within ( 33 + ε ) / 25 {\displaystyle (33+\varepsilon )/25} by a randomized algorithm. The TSP, in particular the Euclidean variant...

Word Count : 11464

Rabin cryptosystem

Last Update:

{p}}\\m_{q}&=c^{{\frac {1}{4}}(q+1)}{\bmod {q}}\end{aligned}}} Use the extended Euclidean algorithm to find y p {\displaystyle y_{p}} and y q {\displaystyle y_{q}}...

Word Count : 2399

Euclidean rhythm

Last Update:

The Euclidean rhythm in music was discovered by Godfried Toussaint in 2004 and is described in a 2005 paper "The Euclidean Algorithm Generates Traditional...

Word Count : 1118

Finite field arithmetic

Last Update:

multiplication by the inverse modulo p, which may be computed using the extended Euclidean algorithm. A particular case is GF(2), where addition is exclusive OR (XOR)...

Word Count : 3094

PDF Search Engine © AllGlobal.net