Message216747
> 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.
What I'm doing at the code for my employer is something similar. There is a PBKDF2 implementation on top of the hmac module. If a hashlib constructor is detected that OpenSSL implements it dispatches that to the PBKDF2 path in OpenSSL via ctypes.
Ultimately it's the same situation but it does not expose the implementation detail. |
|
Date |
User |
Action |
Args |
2014-04-17 21:33:30 | aronacher | set | recipients:
+ aronacher, gregory.p.smith, christian.heimes, alex, yselivanov, dstufft |
2014-04-17 21:33:30 | aronacher | set | messageid: <1397770410.16.0.0625014647164.issue21288@psf.upfronthosting.co.za> |
2014-04-17 21:33:30 | aronacher | link | issue21288 messages |
2014-04-17 21:33:30 | aronacher | create | |
|