python glibc crypt() function
__peter__ at web.de
Wed Apr 21 09:31:46 CEST 2010
> 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$")
> 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