Danger Nothing here should be used for any security purposes. If you need cryptographic tools in a Python environment use pyca. If you need efficient and reliable abstract math utilities in a Python-like environment consider using SageMath. Toy cryptographic functions and utilities# Some toy (unsafe for actual use) cryptography related utilites. Table of Contents# Get Started Installation Dependencies Import names Motiviation The modules Number Theory Sieve of Eratosthenes The concrete classes Birthday Paradox Computations RSA Elliptic curves Security games Vigenère cipher Random Numbers Utility functions Bit manipulation utiltieis Types Bibliography