Re: Weird behavior of crypt

2016-01-29 Thread Alexandre Garnier
2016-01-29 13:09 GMT+01:00 Corinna Vinschen : > On Jan 29 12:39, Marco Atzeri wrote: >> >> >> On 29/01/2016 12:18, Alexandre Garnier wrote: >> >Hello. >> >I'm trying to do SHA-512 password encryption, but the result is really >> >weird on Cygwin: >> > >> ># On Cygwin(either 32 or 64) 2.4.1-1, lates

Re: Weird behavior of crypt

2016-01-29 Thread Corinna Vinschen
On Jan 29 12:39, Marco Atzeri wrote: > > > On 29/01/2016 12:18, Alexandre Garnier wrote: > >Hello. > >I'm trying to do SHA-512 password encryption, but the result is really > >weird on Cygwin: > > > ># On Cygwin(either 32 or 64) 2.4.1-1, latest updates with crypt 1.1-1, > >libcrypt0 1.1-1, libcry

Re: Weird behavior of crypt

2016-01-29 Thread Ismail Donmez
Hi, On Fri, Jan 29, 2016 at 1:39 PM, Marco Atzeri wrote: > The passwords created by crypt(3) are 56 bit DES encrypted and are > 100% identical to those created by the Linux crypt(). crypt(3) on Linux support SHA-256 & SHA-512, $6$ prefix means SHA-512 is requested. Regards, ismail -- Problem r

Re: Weird behavior of crypt

2016-01-29 Thread Marco Atzeri
On 29/01/2016 12:18, Alexandre Garnier wrote: Hello. I'm trying to do SHA-512 password encryption, but the result is really weird on Cygwin: # On Cygwin(either 32 or 64) 2.4.1-1, latest updates with crypt 1.1-1, libcrypt0 1.1-1, libcrypt-devel 1.1-1 $ crypt '$6$7dl4B0fKUimdnR$' test_value $6wO

Weird behavior of crypt

2016-01-29 Thread Alexandre Garnier
Hello. I'm trying to do SHA-512 password encryption, but the result is really weird on Cygwin: # On Cygwin(either 32 or 64) 2.4.1-1, latest updates with crypt 1.1-1, libcrypt0 1.1-1, libcrypt-devel 1.1-1 $ crypt '$6$7dl4B0fKUimdnR$' test_value $6wOs/zKP2jDM $ python -c 'import crypt; print crypt.