python glibc crypt() function
Peter Otten
__peter__ at web.de
Wed Apr 21 03:31:46 EDT 2010
luca72 wrote:
> On 20 Apr, 19:38, Peter Otten <__pete... at web.de> wrote:
>> luca72 wrote:
>> > Hello i have to do this :
>> > glibc crypt() function, using salt $1$abcdefgh$
>>
>> > cryptPw = crypt(plainPw, "$1$abcdefgh$")
> Thanks
> The result is correct i obtain the same with ctypes and crypt module,
> so i think that is better to use the crypt module is correct?
Yes, use the crypt module.
More information about the Python-list
mailing list