b-garbacz / CryptoAlgorithms

Cryptographic algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CryptoAlgorithms

cryptographic algorithms which i have done on laboratory classes.
What can you find here ?

πŸ“ classical cryptanalysis

  • βœ”οΈ AfiBreaker.py - Attack on Affine-Cipher

πŸ“ factorization

  • βœ”οΈ Fermat.py - Fermat's factorization method
  • βœ”οΈ RhoPollard.py - Pollard's rho algorithm

πŸ“ discrete logarithm problem

  • βœ”οΈ DlpPollard.py - Pollard's p βˆ’ 1 algorithm
  • βœ”οΈ Shanks.py - Baby-step giant-step algorithm

πŸ“ Primality tests

  • βœ”οΈ FermatPrimaryTest.py - Fermat primality test
  • βœ”οΈ Miller_Rabin.py - Miller-Rabin primality test

πŸ“ Elliptic curves

  • βœ”οΈ Montgomery.sagews - Montgomery-EC

πŸ“ Lattice-based cryptography

  • βœ”οΈ NTRU.sagews - NTRU - public-key cryptosystem
  • βœ”οΈ Reductions.sagews - LLL + Gram-Schmidt Orthogonalization + Gauss-Lagrange Reduction
  • βœ”οΈ Regev.sagews - "Primitive" Regev protocol