aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-15 16:38:42 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-15 16:38:42 -0800
commit9316f4c54edc24487d75c7bc3cb3490d79e364a3 (patch)
treeb548fbf19e0c479fcb86436905513f3c95c94fab /docs/hazmat
parent9489c769dbd7ea7c6830b5fcd70095818452e607 (diff)
downloadcryptography-9316f4c54edc24487d75c7bc3cb3490d79e364a3.tar.gz
cryptography-9316f4c54edc24487d75c7bc3cb3490d79e364a3.tar.bz2
cryptography-9316f4c54edc24487d75c7bc3cb3490d79e364a3.zip
Fixed some spelling mistakes
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 4ef15459..984fe81d 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -18,7 +18,7 @@ where the encrypter and decrypter both use the same key. Note that symmetric
encryption is **not** sufficient for most applications, because it only
provides secrecy (an attacker can't see the message) but not authenticity (an
attacker can create bogus messages and force the application to decrypt them).
-For this reason it is *strongly* reccomended to combine encryption with a
+For this reason it is *strongly* recommended to combine encryption with a
message authentication code, such as :doc:`HMAC </hazmat/primitives/hmac>`, in
an "encrypt-then-MAC" formulation as `described by Colin Percival`_.
@@ -121,10 +121,10 @@ Algorithms
.. class:: TripleDES(key)
- Triple DES (Data Encryption Standard), sometimes refered to as 3DES, is a
- block cipher standardized by NIST. Triple DES has known cryptoanalytic
+ Triple DES (Data Encryption Standard), sometimes referred to as 3DES, is a
+ block cipher standardized by NIST. Triple DES has known crypto-analytic
flaws, however none of them currently enable a practical attack.
- Nonetheless, Triples DES is not reccomended for new applications because it
+ Nonetheless, Triples DES is not recommended for new applications because it
is incredibly slow; old applications should consider moving away from it.
:param bytes key: The secret key, either ``64``, ``128``, or ``192`` bits