diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2016-11-28 12:08:37 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2016-11-28 12:08:37 -0500 |
| commit | 692a18ce4cddeaeaaec1cfb8bd8bbec263027a8f (patch) | |
| tree | 44f298775aa78c4c1e06a538efb39db373f2d3d6 /docs/narr/context-tutorial.rst | |
| parent | 131bb9c477ce273222f8946130fba638407296b5 (diff) | |
| parent | 210537f1210e13f17efa734ea080f1d70d605603 (diff) | |
| download | passlib-692a18ce4cddeaeaaec1cfb8bd8bbec263027a8f.tar.gz | |
Merge with stable
Diffstat (limited to 'docs/narr/context-tutorial.rst')
| -rw-r--r-- | docs/narr/context-tutorial.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/context-tutorial.rst b/docs/narr/context-tutorial.rst index 718f031..8e4cb7a 100644 --- a/docs/narr/context-tutorial.rst +++ b/docs/narr/context-tutorial.rst @@ -87,7 +87,7 @@ interface, and hashing and verifying passwords is equally as straightforward:: True If not told otherwise, the context object will use the first algorithm listed -in ``schemes`` when encrypting new hashes. This default can be changed by +in ``schemes`` when creating new hashes. This default can be changed by using the ``default`` keyword:: >>> myctx = CryptContext(schemes=["sha256_crypt", "md5_crypt", "des_crypt"], @@ -112,7 +112,7 @@ which probably provide a better argument for *why* you'd want to use it. Using Default Settings ====================== -While encrypting and verifying hashes is useful enough, it's not much +While creating and verifying hashes is useful enough, it's not much more than could be done by importing the objects into a list. The next feature of the :class:`!CryptContext` class is that it can store various customized settings for the different algorithms, @@ -409,7 +409,7 @@ All of the documented :ref:`context-options` are allowed. pbkdf2_sha256__min_rounds = 10000 pbkdf2_sha256__max_rounds = 50000 - ; set the default rounds to use when encrypting new passwords. + ; set the default rounds to use when hashing new passwords. pbkdf2_sha1__default_rounds = 15000 ; applications can choose to treat certain user accounts differently, |
