Message 314866 - Python tracker

Message314866

Author Ron Reiter
Recipients Ron Reiter
Date 2018-04-03.08:26:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522744018.72.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))
False
History
Date User Action Args
2018-04-03 08:26:58Ron Reitersetrecipients: + Ron Reiter
2018-04-03 08:26:58Ron Reitersetmessageid: <1522744018.72.0.467229070634.issue33213@psf.upfronthosting.co.za>
2018-04-03 08:26:58Ron Reiterlinkissue33213 messages
2018-04-03 08:26:58Ron Reitercreate