[Python-Dev] Right place for PBKDF2 wrapper
Nick Coghlan
ncoghlan at gmail.com
Sun Oct 13 14:00:36 CEST 2013
On 13 October 2013 20:39, Christian Heimes <christian at python.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> 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 compare_digest).
>
> I'm afraid your memory doesn't serve you well. :(
> compare_digest is implemented in _operator.c. Its official home is
> hmac.compare_digest.
*sigh* Well, we knew that was an unintuitive home when we picked it :P
We'll get the standard library's crypto APIs to a sensible state some day :)
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list