diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2013-12-27 13:49:41 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2013-12-27 13:49:41 -0500 |
| commit | bcdf0cd2a97fa8dfb4cc06352faa0934ccbf236b (patch) | |
| tree | 36c3549889c3d8bf8f531b30bb588920c23cc681 /docs/lib/passlib.context.rst | |
| parent | 10ddd0c4bf75c21bdd75a3cb0781f020147778b3 (diff) | |
| download | passlib-bcdf0cd2a97fa8dfb4cc06352faa0934ccbf236b.tar.gz | |
massive cleanup of documentation typos, thanks to Thomas Waldmann (issue 27, comment 7) (transplant of r1f5b8860b743 from default branch)
Diffstat (limited to 'docs/lib/passlib.context.rst')
| -rw-r--r-- | docs/lib/passlib.context.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/lib/passlib.context.rst b/docs/lib/passlib.context.rst index 96a6b69..6df24ba 100644 --- a/docs/lib/passlib.context.rst +++ b/docs/lib/passlib.context.rst @@ -24,7 +24,7 @@ The CryptContext Class Helper for encrypting passwords using different algorithms. - At it's base, this is a proxy object that makes it easy to use + At its base, this is a proxy object that makes it easy to use multiple :class:`~passlib.ifc.PasswordHash` objects at the same time. Instances of this class can be created by calling the constructor with the appropriate keywords, or by using one of the alternate @@ -107,7 +107,7 @@ Options which directly affect the behavior of the CryptContext instance: new hashes. This parameter is optional; if omitted, the first non-deprecated algorithm in ``schemes`` will be used. You can use the :meth:`~CryptContext.default_scheme` method - to retreive the name of the current default scheme. + to retrieve the name of the current default scheme. As an example, the following demonstrates the effect of this parameter on the :meth:`~CryptContext.encrypt` method:: @@ -344,8 +344,8 @@ For example, a CryptContext could be set up as follows:: Primary Methods --------------- -The main interface to the CryptContext object deliberate mirrors -the :ref:`PasswordHash <password-hash-api>` interface, since it's central +The main interface to the CryptContext object deliberately mirrors +the :ref:`PasswordHash <password-hash-api>` interface, since its central purpose is to act as a container for multiple password hashes. Most applications will only need to make use two methods in a CryptContext instance: @@ -403,7 +403,7 @@ This is done through three methods: Examining the Configuration --------------------------- -The CryptContext object also supports basic inspection of it's +The CryptContext object also supports basic inspection of its current configuration: .. automethod:: CryptContext.schemes @@ -423,7 +423,7 @@ using one of the serialization methods: Configuration Errors -------------------- The following errors may be raised when creating a :class:`!CryptContext` instance -via any of it's constructors, or when updating the configuration of an existing +via any of its constructors, or when updating the configuration of an existing instance: :raises ValueError: |
