/cryptalgebra

cryptosystems based on abstract algebra

Primary LanguagePython

cryptalgebra

Cryptosystems based on abstract algebra


  • integers.py: modular arithmetic and prime checking
  • factors.py: Simple factorization
  • groups.py: operations in U(n)
  • encoders.py: convert text messages to and from integers
  • crypto.py: encryption algorithms
  • continued_fractions.py: continues fractions expansion. https://en.wikipedia.org/wiki/Continued_fraction
  • polynomials.py: polynomial operations
  • elliptic.py: Elliptic curve operations
  • elliptic_attacks.py: Elliptic curve attacks

A demo of the RSA algorithm can be found here

A demo for Elliptic Curves and the Pohlig Hellman attack can be found here