On 12 Dec 2012, at 10:00 AM, JoeCodeswell <joecodesw...@gmail.com> wrote: > Jonathan said: "Try this instead: change CRYPT() to CRYPT(salt=False)" > > Thanks, Jonathan. I think this is what you mean. Here's what happened. > > Windows Try
More like this: In [10]: CRYPT(salt=False)('NewFish04pw')[0].__str__() Out[10]: 'pbkdf2(1000,20,sha512)$$034e9451c21af53f71d5507578668626baa4e049' Notice the absence of salt in the output. You can also provide constant salt: In [11]: CRYPT(salt='mysalt')('NewFish04pw')[0].__str__() Out[11]: 'pbkdf2(1000,20,sha512)$mysalt$c3dc684cd467bdf31a08343d28b28a2d678b3b5c' If you accept the default salt=True, you get a different result every time: In [12]: CRYPT()('NewFish04pw')[0].__str__() Out[12]: 'pbkdf2(1000,20,sha512)$bde0e96e24dbcb4f$ed1cedb65b2b04b971b08b9f83d6de440f0f6baa' In [13]: CRYPT()('NewFish04pw')[0].__str__() Out[13]: 'pbkdf2(1000,20,sha512)$b5240f5005f1d2ae$ef33928b21356a03d87a56b58938471dd43f7f45' In [14]: CRYPT()('NewFish04pw')[0].__str__() Out[14]: 'pbkdf2(1000,20,sha512)$be05901252d7ef64$52308f6cc862ad8aeafdd64c42acc18c47ca15c4' --