Skip to content

zyz9066/Cryptography

Repository files navigation

Cryptography

A few algorithms of number theory

  • Euclidean Algorithm: compute the greatest common divisor of two positive integers a and b
  • Extended Euclidean Algorithm: take two integers a and b as input and compute integers r, s and t such that r=gcd(a,b) and sa+tb=r
  • Square and Multiply Algorithm: compute modular exponentiations for large number in RSA cryptosystem
  • Solovay-Strassen Algorithm: evaluate Jacobi symbol without factoring n
  • Chinese Remainder Theorem: solve simultaneous congruence x=a1 mod m1, x=a2 mod m2, ..., x=an mod mn
  • Fast Exponentiation: exponentiation performed over a modulus

About

A few algorithms about number theory

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages