Source

django-scrypt / django_scrypt / hashers.py

Author Commit Message Labels Comments Date
Kelvin Wong
Remove stripws helper function and residual test strings
Kelvin Wong
Remove stripws function and use method chaining of builtin strip function
Kelvin Wong
Remove liststringify as it was not used. Enhance docstrings. More testing
Kelvin Wong
Removed the regex for stripping whitespace, it removed ws within the string which was not what was needed. Just the ends were stripped in the old version to remove the linefeed at the end Also, the Base64 encoder for Py3 was not adding linefeeds as in Py2. Output from both now matches
Kelvin Wong
Move helper functions outside class for testing
Kelvin Wong
File encoding set to UTF-8
Kelvin Wong
Minor style changes
Kelvin Wong
In Django 1.4, make_password encoded unicode to utf-8 strings using smart_str before hashing. This was removed in Django 1.5 Dj1.5 raised an error: UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128) More testing is def needed.
Barry Allard
Python 3.3 with 2.7 compatibility
Kelvin Wong
Tox setup. Testing subclassing of hasher. Doc additions. Added keywords to setup. Unicode text test. Add version string and test.
Kelvin Wong
Test for stored encoded hashes old and new formats
Kelvin Wong
Added some docstrings
Kelvin Wong
Fixing linking on docs
Kelvin Wong
Backwards incompatible change as N is no longer stored in the hash, instead the log base 2 of N. More doc work. Test for length of hash less than 128
Kelvin Wong
Initial working code