diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2016-06-22 18:30:44 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2016-06-22 18:30:44 -0400 |
| commit | febffda5c48ce918258cd89e200c314e92ee5bb7 (patch) | |
| tree | dc808043bf1ea1b6bcafb7ac736db6f096b590aa /docs | |
| parent | d94b6212236e433b515b009581f1c165ecf69059 (diff) | |
| download | passlib-febffda5c48ce918258cd89e200c314e92ee5bb7.tar.gz | |
utils: pinned down unicode/bytes handling for ab64/b64s helpers
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/modular_crypt_format.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/modular_crypt_format.rst b/docs/modular_crypt_format.rst index 7080897..86988a6 100644 --- a/docs/modular_crypt_format.rst +++ b/docs/modular_crypt_format.rst @@ -73,7 +73,7 @@ by the modular crypt format hashes found in Passlib: they may use the ``$`` character as an internal field separator. This is the least adhered-to of any modular crypt format convention. - Other characters (such as ``=,-``) are sometimes + Other characters (such as ``+=,-``) are sometimes used by various formats, though sparingly. The only hard and fast stricture @@ -81,11 +81,13 @@ by the modular crypt format hashes found in Passlib: since this would interfere with parsing of the Unix shadow password file, where these hashes are typically stored. - Pretty much all modular-crypt-format hashes + Pretty much all older modular-crypt-format hashes use ascii letters, numbers, ``.``, and ``/`` to provide base64 encoding of their raw data, though the exact character value assignments vary between hashes (see :data:`passlib.utils.h64`). + Many newer hashes use ``+`` instead of ``.``, + to adhere closer to the base64 standard. 4. Hash schemes should put their "digest" portion at the end of the hash, preferably separated |
