diff options
author | David Reid <dreid@dreid.org> | 2013-12-16 11:52:54 -0800 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2013-12-16 11:52:54 -0800 |
commit | a4aa420cc6c0203d201a0f418af68d1f11abbcf5 (patch) | |
tree | d90c63d8808ccebe7240b672b24fbab9c92d6da6 /docs | |
parent | ffb7726fa3042e66e8011fbd17a8b6f83f0c8110 (diff) | |
parent | be980532c4714e29d9afcec439eca8550343142c (diff) | |
download | cryptography-a4aa420cc6c0203d201a0f418af68d1f11abbcf5.tar.gz cryptography-a4aa420cc6c0203d201a0f418af68d1f11abbcf5.tar.bz2 cryptography-a4aa420cc6c0203d201a0f418af68d1f11abbcf5.zip |
Merge pull request #311 from alex/rework-index
Rework the index to give people a better lay of the land
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/docs/index.rst b/docs/index.rst index 776c9d37..381063df 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -32,9 +32,24 @@ existing libraries: * Poor introspectability, and thus poor testability. * Extremely error prone APIs, and bad defaults. +Layout +------ -Contents --------- +``cryptography`` is broadly divided into two levels. One with safe +cryptographic recipes, "cryptography for humans" if you will. These are safe +and easy to use and don't require developers to make many decisions. + +The other level is low-level cryptographic primitives. These are often +dangerous and can be used incorrectly. They require making decisions and having +an in-depth knowledge of the cryptographic concepts at work. Because of the +potential danger in working at this level, this is referred to as the +"hazardous materials" or "hazmat" layer. + +We recommend using the recipes layer whenever possible, and falling back to the +hazmat layer only when necessary. + +The recipes layer +~~~~~~~~~~~~~~~~~ .. toctree:: :maxdepth: 2 @@ -42,15 +57,22 @@ Contents architecture exceptions glossary - contributing - security - community -Hazardous Materials -------------------- +The hazardous materials layer +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. toctree:: :maxdepth: 2 hazmat/primitives/index hazmat/backends/index + +The ``cryptography`` open source project +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. toctree:: + :maxdepth: 2 + + contributing + security + community |