diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2016-06-10 12:32:52 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2016-06-10 12:32:52 -0400 |
| commit | 281dacd121d72c7570442a13f2113f63c6c439ba (patch) | |
| tree | 997fcabde572da2fc5c8158243e26cce64ee3874 /passlib/crypto | |
| parent | 61dc39910c6904c69f2e81d5dd41090cac1f18a1 (diff) | |
| download | passlib-281dacd121d72c7570442a13f2113f63c6c439ba.tar.gz | |
.encrypt() method renamed to .hash(), other api cleanups
.encrypt()
----------
hash.encrypt() & context.encrypt() have been renamed to .hash().
this should take care of the long-standing issue 21 (the poor naming of .encrypt).
per docs, legacy aliases will remain in place until passlib 2.0.
.genhash() / .genconfig()
-------------------------
taking advantage of this reorganization to also deprecate .genconfig()
and .genhash() -- they're not really useful in a modern system,
nor as needed for historical support as initially thought:
.genconfig() will be retired completely in passlib 2.0;
.genhash() is rolled into the new .hash() method along with .encrypt().
Diffstat (limited to 'passlib/crypto')
0 files changed, 0 insertions, 0 deletions
