summaryrefslogtreecommitdiff
path: root/passlib/crypto/scrypt
Commit message (Collapse)AuthorAgeFilesLines
* cleanup old python compat -- replaced "unicode" alias in favor of "str"Eli Collins2020-10-061-2/+2
|
* cleanup old python compat -- removed izip() wrapperEli Collins2020-10-061-7/+6
|
* cleanup old python compat -- removed all "from __future__" importsEli Collins2020-10-061-1/+0
|
* passlib.crypto.scrypt: add support for hashlib.scrypt() backend (fixes issue 86)Eli Collins2019-11-111-2/+73
|
* passlib.crypto.scrypt: reworked backend loader internalsEli Collins2017-01-231-38/+52
| | | | | | | | | | * reworked backends so they're more pluggable. * added _has_backend() helper for UTs to use, instead of _load_backend() hack, which wasn't respecting dryrun flag. this is mainly in preparation for issue 86: adding backend to support stdlib's hashlib.scrypt().
* crypto.scrypt: change require keylen>=1, to match pbkdf2_hmac()Eli Collins2016-06-201-2/+2
|
* utils.handlers: split out most of HasManyBackends into separate BackendMixin,Eli Collins2016-06-171-10/+13
| | | | | | | | | | which provides a more generic & flexible framework than HasManyBackends. * has_backend() now a wrapper for set_backend(), which now accepts a dryrun flag. * loaders can now return arbitrary objects, classes can control how they operate. * loaders can now be dryrun aware. * bcrypt hasher, scrypt hasher, and scrypt module updated to use new api * fuzz tester now correctly restored backend after use
* passlib.handlers.scrypt: created scrypt hash handler, complete with UTs and docsEli Collins2016-06-104-0/+761
* scrypt kdf code - relocated scrypt kdf code to passlib.crypto.scrypt - py3 compat fixes - split UTs out into separate file - removed "non-power of 2" support, not needed. - added wrapper which can toggle between builtin backend, and extenrnal scrypt package. - factored out n/r/p validation code so it can be used independantly of calling kdf itself. * passlib.handlers.scrypt: added scrypt handler which wraps the kdf. - added some custom test strings, as well as adapted some reference values from the scrypt whitepaper. - added documentation page - integrated scrypt kdf wrapper w/ hash's HasManyBackends api