Yury Selivanov added the comment: On 2014-04-17, 5:02 PM, Christian Heimes wrote: > Christian Heimes added the comment: > > A callable wouldn't work for the OpenSSL back end of PBKDF2. The function > takes a digest pointer. I have to think about a solution... > > Sorry for the brevity, I still don't have proper internet at home. >
We can accept only hashlib functions, and continue passing their names to the OpenSSL backend. A bit ugly and limited solution (no user-defined hash functions) for a better looking API. Yury ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21288> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com