Danger

Nothing here should be used for any security purposes.

  • If you need cryptographic tools in a Python environment use pyca or PyNaCl.

  • If you need efficient and reliable abstract math utilities in a Python-like environment consider using SageMath.

Toy cryptographic functions and utilities#

This is a collection of utilities that can be used for illustrating or exploring some cryptographic concepts. Although it includes implementations of some cryptographic algorithms, these are not secure implementations.

Note that if you need to do cryptography in Python, I recommend pyca or PyNaCl. If you want tools to explore the algebraic and number theoretic constructs used in cryptography, look at SageMath or sympy.

Table of Contents#