aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-08 11:04:44 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-08 11:04:44 -0700
commit5ba2dfa1c03f7f923d99f0879e084aee373f6f34 (patch)
tree9d293758cae8ea5a4c962da283c68ab8d2a48391 /docs
parente7869438c416104dbc8872abcf9ac48f5f0959db (diff)
downloadcryptography-5ba2dfa1c03f7f923d99f0879e084aee373f6f34.tar.gz
cryptography-5ba2dfa1c03f7f923d99f0879e084aee373f6f34.tar.bz2
cryptography-5ba2dfa1c03f7f923d99f0879e084aee373f6f34.zip
Attempt to document AES
Diffstat (limited to 'docs')
-rw-r--r--docs/primitives/symmetric-encryption.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst
index 7081e014..750ab88d 100644
--- a/docs/primitives/symmetric-encryption.rst
+++ b/docs/primitives/symmetric-encryption.rst
@@ -32,8 +32,14 @@ whatever data is left.
Ciphers
~~~~~~~
-AES
-+++
+.. class:: cryptography.primitives.aes.AES(key)
+
+ AES (Advanced encryption standard) is a block cipher standardized by NIST.
+ AES is both fast, and cryptographically strong. It is a good default
+ choice for encryption.
+
+ :param bytes key: The secret key, either ``128``, ``192``, or ``256`` bits.
+
Modes
~~~~~