This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ron Reiter
Recipients Ron Reiter
Date 2018-04-03.08:28:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522744090.25.0.467229070634.issue33213@psf.upfronthosting.co.za>
In-reply-to
Content
import crypt

Expected result:
>>> crypt.crypt("test") == crypt.crypt("test")
False
>>> crypt.crypt("test", crypt.mksalt()) == crypt.crypt("test", crypt.mksalt())
False

Unexpected results:
>>> crypt.crypt("test", crypt.METHOD_SHA512) == crypt.crypt("test", crypt.METHOD_SHA512)
True
>>> crypt.crypt("test", crypt.mksalt(crypt.METHOD_SHA512)) == crypt.crypt("test", crypt.mksalt(crypt.METHOD_SHA512))
True
History
Date User Action Args
2018-04-03 08:28:10Ron Reitersetrecipients: + Ron Reiter
2018-04-03 08:28:10Ron Reitersetmessageid: <1522744090.25.0.467229070634.issue33213@psf.upfronthosting.co.za>
2018-04-03 08:28:10Ron Reiterlinkissue33213 messages
2018-04-03 08:28:10Ron Reitercreate