#17481: leading zeros are missing from result of pbkdf2 ---------------------------------+------------------------- Reporter: bhuztez | Owner: nobody Type: Bug | Status: new Component: Uncategorized | Version: 1.4-alpha-1 Severity: Release blocker | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+------------------------- Here is an example.
{{{#!python >>> import hashlib >>> from django.utils import crypto >>> from M2Crypto import EVP >>> EVP.pbkdf2(chr(186), 'salt', 1, 20) '\x00S\xd3\xb9\x1a\x7f\x1eT\xef\xfe\xbdmhw\x1e\x8an\x0b,[' >>> crypto.pbkdf2(chr(186), 'salt', 1, 20, digest=hashlib.sha1) 'S\xd3\xb9\x1a\x7f\x1eT\xef\xfe\xbdmhw\x1e\x8an\x0b,[' >>> }}} -- Ticket URL: <https://code.djangoproject.com/ticket/17481> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.