Raymond Hettinger <raymond.hettin...@gmail.com> added the comment: > What's the return value of crypt.crypt("test", crypt.METHOD_SHA512)
This is from my Mac (10.13.3): $ python3.6 Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import crypt >>> crypt.crypt("test", crypt.METHOD_SHA512) '$6asQOJRqB1i2' >>> crypt.crypt("test", crypt.METHOD_SHA512) '$6asQOJRqB1i2' >>> crypt.crypt("test", "$5") '$5yVOkTkyRzn.' >>> crypt.crypt("test", "$6") '$6asQOJRqB1i2' >>> crypt.crypt("test", "$7") '$7tSOkvDyiL6U' >>> crypt.crypt("test") == crypt.crypt("test") False >>> crypt.crypt("test", crypt.mksalt()) == crypt.crypt("test", crypt.mksalt()) False ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33213> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com