diff options
author | Eli Collins <elic@assurancetechnologies.com> | 2012-01-18 15:35:29 -0500 |
---|---|---|
committer | Eli Collins <elic@assurancetechnologies.com> | 2012-01-18 15:35:29 -0500 |
commit | d4ebb05e010b435c62eeb425059bc9d78e090660 (patch) | |
tree | 799ce222914000f13c9423090576df249a947f15 /CHANGES | |
parent | fc22ab711426e37816d862db5928892d718de53a (diff) | |
download | passlib-d4ebb05e010b435c62eeb425059bc9d78e090660.tar.gz |
replaced utils.h64 module with utils.Base64Engine instance
* new utils.Base64Engine() provides flexible class for encoding arbitrary base64 charmaps.
it should also be a bit faster than the old h64 module.
* predefined 'h64' instance has mostly the same methods as the old h64 module
which it takes the place off - so imports should be unaffected.
(the only the exception of the xxx_dc_xxx methods, which now use the 'h64big' instance)
* replaced utils._blowfish base64 encoding with custom Base64Engine instance
to reduce code duplication.
* more through unittests for Base64Engine.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -13,7 +13,7 @@ Release History a user against the SCRAM protocol (:rfc:`5802`). It can also be used to verify users in the same way as any other password hash in Passlib, though it offers no particular advantages - outside of this special case. + outside of this special case. CryptContext @@ -49,6 +49,13 @@ Release History This affects all schemes in :mod:`passlib.hash` which support multiple backends. + .. currentmodule:: passlib.utils + + * :mod:`!passlib.utils.h64` has been replaced by an instance of the + new :class:`~passlib.utils.Base64Engine` class. This instance is + imported under the same name, and has (mostly) the same interface; + but should be faster, more flexible, and better unit-tested. + Other * Passlib is now source-compatible with Python 2.5+ and Python 3, @@ -144,7 +151,7 @@ Release History .. currentmodule:: passlib.hash * *bugfix:* :class:`django_des_crypt` now accepts all - :mod:`Hash64 <passlib.utils.h64>` characters in it's salts; + :data:`hash64 <passlib.utils.h64>` characters in it's salts; previously it accepted only lower-case hexidecimal characters [issue 22]. * Additional unittests added for all |