Cryptography is a Python library which exposes cryptographic recipes and primitives. It is available under either the Apache Software License, Version 2.0, or the BSD license.