diff options
author | David Reid <dreid@dreid.org> | 2013-10-22 16:55:18 -0700 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2013-10-22 16:55:18 -0700 |
commit | 1f3d718cd48ae5f2efe01f724cdf00669087af8f (patch) | |
tree | 3680cfbdc641d7bfc51d8f993b527fc97b3aeb60 /docs/primitives/cryptographic-hashes.rst | |
parent | 6ce102ac57a283f881d76e2e926a389f8a05b19b (diff) | |
download | cryptography-1f3d718cd48ae5f2efe01f724cdf00669087af8f.tar.gz cryptography-1f3d718cd48ae5f2efe01f724cdf00669087af8f.tar.bz2 cryptography-1f3d718cd48ae5f2efe01f724cdf00669087af8f.zip |
Make use of currentmodule to maybe reduce redundant module definitions and also get source links.
Diffstat (limited to 'docs/primitives/cryptographic-hashes.rst')
-rw-r--r-- | docs/primitives/cryptographic-hashes.rst | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/docs/primitives/cryptographic-hashes.rst b/docs/primitives/cryptographic-hashes.rst index aeb30f40..f917ab45 100644 --- a/docs/primitives/cryptographic-hashes.rst +++ b/docs/primitives/cryptographic-hashes.rst @@ -1,7 +1,9 @@ Message Digests =============== -.. class:: cryptography.primitives.hashes.BaseHash(data=None) +.. currentmodule:: cryptography.primitives.hashes + +.. class:: BaseHash(data=None) Abstract base class that implements a common interface for all hash algorithms that follow here. @@ -32,7 +34,7 @@ SHA-1 NIST has deprecated SHA-1 in favor of the SHA-2 variants. New applications are strongly suggested to use SHA-2 over SHA-1. -.. class:: cryptography.primitives.hashes.SHA1() +.. class:: SHA1() SHA-1 is a cryptographic hash function standardized by NIST. It has a 160-bit message digest. @@ -40,22 +42,22 @@ SHA-1 SHA-2 Family ~~~~~~~~~~~~ -.. class:: cryptography.primitives.hashes.SHA224() +.. class:: SHA224() SHA-224 is a cryptographic hash function from the SHA-2 family and standardized by NIST. It has a 224-bit message digest. -.. class:: cryptography.primitives.hashes.SHA256() +.. class:: SHA256() SHA-256 is a cryptographic hash function from the SHA-2 family and standardized by NIST. It has a 256-bit message digest. -.. class:: cryptography.primitives.hashes.SHA384() +.. class:: SHA384() SHA-384 is a cryptographic hash function from the SHA-2 family and standardized by NIST. It has a 384-bit message digest. -.. class:: cryptography.primitives.hashes.SHA512() +.. class:: SHA512() SHA-512 is a cryptographic hash function from the SHA-2 family and standardized by NIST. It has a 512-bit message digest. @@ -63,7 +65,7 @@ SHA-2 Family RIPEMD160 ~~~~~~~~~ -.. class:: cryptography.primitives.hashes.RIPEMD160() +.. class:: RIPEMD160() RIPEMD160 is a cryptographic hash function that is part of ISO/IEC 10118-3:2004. It has a 160-bit message digest. @@ -71,7 +73,7 @@ RIPEMD160 Whirlpool ~~~~~~~~~ -.. class:: cryptography.primitives.hashes.Whirlpool() +.. class:: Whirlpool() Whirlpool is a cryptographic hash function that is part of ISO/IEC 10118-3:2004. It has a 512-bit message digest. @@ -84,7 +86,7 @@ MD5 MD5 is a deprecated hash algorithm that has practical known collision attacks. You are strongly discouraged from using it. -.. class:: cryptography.primitives.hashes.MD5() +.. class:: MD5() MD5 is a deprecated cryptographic hash function. It has a 160-bit message digest and has practical known collision attacks. |