[issue19254] Python implementation of PBKDF2_HMAC

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: Serhiy, I have taken your review into account. I still need to use memoryview() in order to handle all types that are supported by the format char "y*". -- components: +Library (Lib) resolution: -> fixed stage: patch review -> committed/rejected stat

[issue19254] Python implementation of PBKDF2_HMAC

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e73627483d2f by Christian Heimes in branch 'default': Issue #19254: Provide an optimized Python implementation of PBKDF2_HMAC http://hg.python.org/cpython/rev/e73627483d2f -- nosy: +python-dev ___ Python

[issue19254] Python implementation of PBKDF2_HMAC

2013-10-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Christian, does you noticed my comments on Rietveld? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue19254] Python implementation of PBKDF2_HMAC

2013-10-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I have optimized XOR and now it's even faster than OpenSSL's code for > reasonable long passwords. :( Uh... and it gives the right results? Perhaps OpenSSL should be reimplemented in Python :-) If your code is resistant to timing attacks, I suppose we don't

[issue19254] Python implementation of PBKDF2_HMAC

2013-10-14 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue19254] Python implementation of PBKDF2_HMAC

2013-10-14 Thread Christian Heimes
Christian Heimes added the comment: I have optimized XOR and now it's even faster than OpenSSL's code for reasonable long passwords. :( -- Added file: http://bugs.python.org/file32113/pbkdf2_py3.patch ___ Python tracker

[issue19254] Python implementation of PBKDF2_HMAC

2013-10-14 Thread Christian Heimes
Christian Heimes added the comment: Here is an optimized version with inline HMAC. Contrary to the implementations in OpenSSL, PyCrypto, and pbkdf2.py the length of the password has almost no impact on the runtime of my implementation. -- Added file: http://bugs.python.org/file32112/pb

[issue19254] Python implementation of PBKDF2_HMAC

2013-10-13 Thread Christian Heimes
New submission from Christian Heimes: The patch provides a Python implementation of pbkdf2_hmac with Python's hmac module. Although I'm using some tricks it's more than six times slower than OpenSSL's implementation. -- files: pbkdf2_py.patch keywords: patch messages: 199808 nosy: chri