PyCryptodome is a self-contained Python package of low-level cryptographic primitives. It supports Python 2.6 and 2.7, Python 3.4 and newer, and PyPy. It assumes that you know what you're doing, so this is not a safe-to-use module. The Cryptographic Best Practices website should be open at the same time.