项目作者: b-garbacz

项目描述 :
Cryptographic algorithms
高级语言: Python
项目地址: git://github.com/b-garbacz/CryptoAlgorithms.git
创建时间: 2021-04-21T23:43:49Z
项目社区:https://github.com/b-garbacz/CryptoAlgorithms

开源协议:

下载


CryptoAlgorithms

cryptographic algorithms which i have done on laboratory classes.

What can you find here ?

:file_folder: classical cryptanalysis

  • :heavy_check_mark: AfiBreaker.py - Attack on Affine-Cipher

    factorization
    " class="reference-link">:file_folder: factorization

  • :heavy_check_mark: Fermat.py - Fermat’s factorization method
  • :heavy_check_mark: RhoPollard.py - Pollard’s rho algorithm

    discrete logarithm problem
    " class="reference-link">:file_folder: discrete logarithm problem

  • :heavy_check_mark: DlpPollard.py - Pollard’s p − 1 algorithm
  • :heavy_check_mark: Shanks.py - Baby-step giant-step algorithm

    Primality tests
    " class="reference-link">:file_folder: Primality tests

  • :heavy_check_mark: FermatPrimaryTest.py - Fermat primality test
  • :heavy_check_mark: Miller_Rabin.py - Miller-Rabin primality test

    Elliptic curves
    " class="reference-link">:file_folder: Elliptic curves

  • :heavy_check_mark: Montgomery.sagews - Montgomery-EC

    Lattice-based cryptography
    " class="reference-link">:file_folder: Lattice-based cryptography

  • :heavy_check_mark: NTRU.sagews - NTRU - public-key cryptosystem
  • :heavy_check_mark: Reductions.sagews - LLL + Gram-Schmidt Orthogonalization + Gauss-Lagrange Reduction
  • :heavy_check_mark: Regev.sagews - “Primitive” Regev protocol