[issue33213] crypt function not hashing properly

Christian Heimes report at bugs.python.org
Tue Apr 3 06:12:43 EDT 2018


Christian Heimes <lists at cheimes.de> added the comment:

The crypt module is a thin wrapper around the OS' crypt(3) function. The function should return NULL for unsupported salt types. The module turns NULL into None.

What's the return value of crypt.crypt("test", crypt.METHOD_SHA512) ?

----------
nosy: +christian.heimes

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33213>
_______________________________________


More information about the Python-bugs-list mailing list