Re: python glibc crypt() function

2010-04-21 Thread geremy condra
On Wed, Apr 21, 2010 at 2:29 AM, luca72 wrote: > On 20 Apr, 19:38, Peter Otten <__pete...@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 t

Re: python glibc crypt() function

2010-04-21 Thread Peter Otten
luca72 wrote: > On 20 Apr, 19:38, Peter Otten <__pete...@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 mod

Re: python glibc crypt() function

2010-04-20 Thread luca72
On 20 Apr, 19:38, Peter Otten <__pete...@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 be

Re: python glibc crypt() function

2010-04-20 Thread geremy condra
2010/4/20 Дамјан Георгиевски : >>> Hello i have to do this : >>> glibc crypt() function, using salt $1$abcdefgh$ >>> >>> cryptPw = crypt(plainPw, "$1$abcdefgh$") >>> >>> I can do it in python, with package i need? >>> Thanks >> > import ctypes > lib = ctypes.CDLL("libcrypt.so.1") > cryp

Re: python glibc crypt() function

2010-04-20 Thread Дамјан Георгиевски
>> Hello i have to do this : >> glibc crypt() function, using salt $1$abcdefgh$ >> >> cryptPw = crypt(plainPw, "$1$abcdefgh$") >> >> I can do it in python, with package i need? >> Thanks > import ctypes lib = ctypes.CDLL("libcrypt.so.1") crypt = lib.crypt crypt.restype = ctyp

Re: python glibc crypt() function

2010-04-20 Thread Peter Otten
geremy condra wrote: > On Tue, Apr 20, 2010 at 1:38 PM, Peter Otten <__pete...@web.de> wrote: >> luca72 wrote: >> >>> Hello i have to do this : >>> glibc crypt() function, using salt $1$abcdefgh$ >>> >>> cryptPw = crypt(plainPw, "$1$abcdefgh$") >>> >>> I can do it in python, with package i need? >

Re: python glibc crypt() function

2010-04-20 Thread geremy condra
On Tue, Apr 20, 2010 at 1:38 PM, Peter Otten <__pete...@web.de> wrote: > luca72 wrote: > >> Hello i have to do this : >> glibc crypt() function, using salt $1$abcdefgh$ >> >> cryptPw = crypt(plainPw, "$1$abcdefgh$") >> >> I can do it in python, with package i need? >> Thanks > import ctypes >>

Re: python glibc crypt() function

2010-04-20 Thread Peter Otten
luca72 wrote: > Hello i have to do this : > glibc crypt() function, using salt $1$abcdefgh$ > > cryptPw = crypt(plainPw, "$1$abcdefgh$") > > I can do it in python, with package i need? > Thanks >>> import ctypes >>> lib = ctypes.CDLL("libcryp

Re: python glibc crypt() function

2010-04-20 Thread geremy condra
On Tue, Apr 20, 2010 at 9:54 AM, luca72 wrote: > Hello i have to do this : > glibc crypt() function, using salt $1$abcdefgh$ > > cryptPw = crypt(plainPw, "$1$abcdefgh$") > > I can do it in python, with package i need? > Thanks > -- > http://mail.python.org/mailman/listinfo/python-list > http://do

python glibc crypt() function

2010-04-20 Thread luca72
Hello i have to do this : glibc crypt() function, using salt $1$abcdefgh$ cryptPw = crypt(plainPw, "$1$abcdefgh$") I can do it in python, with package i need? Thanks -- http://mail.python.org/mailman/listinfo/python-list