Haskell icon indicating copy to clipboard operation
Haskell copied to clipboard

Euclidian Algorithms

Open samjones246 opened this issue 4 years ago • 0 comments

Implementations of both the Euclidian Algorithm and the Extended Euclidian Algorithm. The first computes the greatest common divisor of two integers. The second computes the coefficients of Bézout's identity for given values of a and b, but the version I have implemented uses this to find the multiplicative inverse of a modulo b. This is a common use for the algorithm in cryptography.

samjones246 avatar Oct 03 '21 13:10 samjones246