SkillAgentSearch skills...

CRYPTO

Python3 implementation of Cryptographic attacks. Applcations examples introduced on my blog.

Install / Use

/learn @ndiab/CRYPTO

README

CRYPTOGRAPHY PROJECT

Realised in the context of the Master's course of Advanced Cryptography taught at the University Pierre and Marie Curie (UPMC, Paris, FRANCE)

This project contains the implemetation of some cryptosystems, artithmetic objects and attacks against them. This project is fully implemented in python language.

Currently contents implemented :

  • Asymetric cryptosystems
    • RSA
    • RSA_CRT
    • ECC
  • Symetric cryptosystems
    • IDEA
  • Arithmetic objects
    • extended euclide's algorithm
    • Chiness Remainder Theorem (CRT)
    • Continued fraction computation
    • modular arithmetic
      • modular division
      • fast exponentiation
      • inverse
    • Large numbers
      • prime number generation
        • Rabin Miller algorithm
      • Square root for large numbers
  • Attacks
    • Bellcore - RSA_CRT (Fault Attack)
    • Broadcast - RSA
    • Wiener - RSA
    • Baby Step Giant Step

TEST

For checking if the contents works correctly, run on the project's root the following command :

python3 Test.py

AUTHORS

  • Nabil Diab - nabil.diab59@gmail.com

Acknowledgment

  • Maeva Benoit, Sebastien Coll ( @y0a0bon ) and Benoit Le Caruyer de Beauvais for helping
  • Guenael Renault who's taught the course

Related Skills

View on GitHub
GitHub Stars24
CategoryDevelopment
Updated2mo ago
Forks4

Languages

Python

Security Score

95/100

Audited on Jan 19, 2026

No findings