Skip to content

infinitelyExplosive/rust-crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-crypto

Implementing the algorithms and attacks described in Twenty Years of Attacks on the RSA Cryptosystem (Boneh 1999) in Rust.

Requires rug

Features

Code is split across 3 files, main.rs, which contains code to test algorithms and attacks, cryptlib.rs, which contains algorithms used by the attacks, and cryptlib_bv.rs, which contains bivariate versions of the algorithms.

cryptlib

  • Univariate polynomial operations
  • Determinant
  • Resultant
  • Euclidean algorithm
  • Polynomial euclidean algorithm mod n
  • Chinese remainder theorem
  • Quadratic equation solver mod n (partial implementation, does not cover all cases)
  • Coppersmith's method (Howgrave-Graham simplification)
  • LLL algorithm
  • Newton's method for approximating zeros

cryptlib_bv

  • Bivariate polynomial operations
  • Coppersmith's bivariate method (Coron simplification)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published