summaryrefslogtreecommitdiff
path: root/docs/modular_crypt_format.rst
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2012-08-01 12:52:39 -0400
committerEli Collins <elic@assurancetechnologies.com>2012-08-01 12:52:39 -0400
commit432fd93f6884036df59007f09dee86adfb7078ad (patch)
tree6b7b702984775a66f73d6831cd2a8749156147ba /docs/modular_crypt_format.rst
parent189346c45a4907479f083c854469a896dcf3b581 (diff)
downloadpasslib-432fd93f6884036df59007f09dee86adfb7078ad.tar.gz
project-wide whitespace & comment cleanup (it's been a couple of years)
Diffstat (limited to 'docs/modular_crypt_format.rst')
-rw-r--r--docs/modular_crypt_format.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/modular_crypt_format.rst b/docs/modular_crypt_format.rst
index aa564fb..6457170 100644
--- a/docs/modular_crypt_format.rst
+++ b/docs/modular_crypt_format.rst
@@ -46,7 +46,7 @@ by the modular crypt format hashes found in passlib:
1. Hash strings must use only 7-bit ascii characters.
No known OS or application generates hashes which violate this rule.
- However, some systems (eg Linux's shadow routines) will happily
+ However, some systems (e.g. Linux's shadow routines) will happily
and correctly accept hashes which contain 8-bit characters in their salt.
This is probably a case of "permissive in what you accept,
strict in what you generate".
@@ -58,13 +58,13 @@ by the modular crypt format hashes found in passlib:
Initially, most schemes adhereing to this format
only used a single digit to identify the hash
- (eg ``$1$`` for :class:`!md5_crypt`).
+ (e.g. ``$1$`` for :class:`!md5_crypt`).
Because of this, many systems only look at the first
character when attempting to distinguish hashes.
Despite this, as Unix systems have branched off,
new hashes have been developed which used larger
- identifying strings (eg ``$sha1$`` for :class:`~passlib.hash.sha1_crypt`);
+ identifying strings (e.g. ``$sha1$`` for :class:`~passlib.hash.sha1_crypt`);
so in general identifier strings should not be assumed to use a single character.
3. Hashes should contain only ascii letters ``a``-``z`` and ``A``-``Z``,