[Python-Dev] Right place for PBKDF2 wrapper (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Mon Oct 14 13:47:08 CEST 2013
- Previous message: [Python-Dev] Right place for PBKDF2 wrapper
- Next message: [Python-Dev] Support for marking limited API elements in C API docs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
14.10.13 13:07, Antoine Pitrou написав(ла):
Le Mon, 14 Oct 2013 12:47:03 +0300, Serhiy Storchaka <storchaka at gmail.com> a écrit :
13.10.13 13:39, Christian Heimes написав(ла):
Am 13.10.2013 08:32, schrieb Nick Coghlan:
+1 to hashlib from me (especially since we used that as the best available home for comparedigest).
I'm afraid your memory doesn't serve you well. :( comparedigest is implemented in operator.c. Its official home is hmac.comparedigest. Could we move comparedigest() out of operator.c? It makes Python implementation of the operator module incomplete. Or we could simply write a reference Python implementation :-)
It was discussed when compare_digest() was introdused. Looks as pure Python implementation is not possible (without destroying the purpose of compare_digest()). Even with C implementation we should be very careful.
- Previous message: [Python-Dev] Right place for PBKDF2 wrapper
- Next message: [Python-Dev] Support for marking limited API elements in C API docs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]