summaryrefslogtreecommitdiff
path: root/passlib/utils/des.py
Commit message (Collapse)AuthorAgeFilesLines
* work on des_crypt familyEli Collins2012-04-131-115/+238
| | | | | * cleaned up source of des_crypt variants and DES util functions * DES utils functions now have tighter input validation, full UT coverage
* updated test support & py3 compat code from an external libraryEli Collins2012-03-121-11/+11
| | | | | | | | | | | | | | | | passlib.tests ------------- * deprecated support for unittest 1... accumulated too many backports, planning to require unittest2 in next release. * case_prefix renamed to shortDescription * test case now archives & clears warning registry state in addition to warning filter state passlib.utils.compat -------------------- * a bunch of the bytes-related functions were renamed for clarity * NativeStringIO alias added * trange alias merged into irange
* import cleanupsEli Collins2012-01-181-3/+2
| | | | | | | | | | | | | | | * moved bytes compat functions from utils to utils.compat (bord, bjoin, bjoin_ints, bjoin_elems, ujoin) * renamed bord -> belem_ord for clarify * a bunch of to_native_str() always use ascii, and have fixed input types (always bytes or always unicode). these don't need overhead of to_native_str(), so replaced those calls with two new funcs: compat.bascii_to_str() / compat.uascii_to_str() * cleaned up a lot of imports from utils/utils.compat to pull from correct module * simplified the to_string() logic of a bunch of handlers to reduce unicode<->byte transitions
* deprecated unused int<->bytes utilsEli Collins2012-01-181-8/+10
|
* replaced xrange() instances with compat.irange() aliasEli Collins2011-12-061-3/+3
|
* added compatibility module (passlib.utils.compat)Eli Collins2011-12-061-9/+10
| | | | | | | | | exports specialized range & map aliases, and some dict helpers * all dict.iteritems() calls replaced with compat.iteritems(dict) * all xrange() calls replaced with compat.irange() * all range() calls replaced with compat.trange() and compat.lrange() as appropriate * all map() calls replaced with compat.lmap()
* stripped trailing whitespace from a bunch of filesEli Collins2011-07-081-6/+6
|
* utils.des now py3 compat; fixed some other utils as wellEli Collins2011-06-171-11/+20
|
* removed a bunch of "L" suffixes from ints (per 2to3)Eli Collins2011-03-281-7/+7
|
* documentation workEli Collins2011-02-241-7/+13
| | | | | | | | | | | ================== updated des crypt, crypt16, bigcrypt, bsdi crypt docs: * added details of algorithm * added security issues section * updated deviations text * other doc updates
* misc documentation updatesEli Collins2011-02-241-1/+1
|
* added some internal notes about linux/bsd des-crypt border casesEli Collins2011-02-131-0/+4
|
* miscEli Collins2011-02-011-2/+2
| | | | | | ==== * added documentation * bugfix: ext-des-crypt rounds were being capped at 12 bits, not 24. added ut for regression.
* updated docsEli Collins2011-01-311-14/+0
|
* wow. lots of rearrangingEli Collins2011-01-281-0/+4
| | | | | | | | ======================== * back to 1.2 structure * moved h64 helpers into utils.h64 module * pared down CryptHandler * tightened UTs somewhat
* md5-crypt now uses stdlib backend if availableEli Collins2011-01-251-1/+1
|
* moved DES routines to separate moduleEli Collins2011-01-251-0/+724