mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-15 20:40:20 +00:00
18 lines
669 B
ReStructuredText
18 lines
669 B
ReStructuredText
Architecture
|
|
============
|
|
|
|
.. warning::
|
|
|
|
Because ``cryptography`` is so young, much of this document is
|
|
aspirational, rather than documentation.
|
|
|
|
``cryptography`` has three different layers:
|
|
|
|
* ``cryptography.bindings``: This package contains bindings to low level
|
|
cryptographic libraries. Our initial target will be OpenSSL.
|
|
* ``cryptography.primitives``: This packages contains low level algorithms,
|
|
things like ``AES`` or ``SHA1``. This is implemented on top of
|
|
``cryptography.bindings``.
|
|
* ``cryptography``: This package contains higher level recipes, for example
|
|
"encrypt and then MAC". This is implemented on top of
|
|
``cryptography.primitives``.
|