Re: What hash function to use

2018-08-23 Thread Olivier
Thank you Chas, > It looks like https://metacpan.org/pod/Crypt::Password might implement > Modular Crypt Format. > > On Thu, Aug 23, 2018 at 11:38 AM Chas. Owens wrote: > > That prefix appears to for the modular crypt format (see below) and lets the > shadow file use > different hashing functi

Re: What hash function to use

2018-08-23 Thread Chas. Owens
It looks like https://metacpan.org/pod/Crypt::Password might implement Modular Crypt Format. On Thu, Aug 23, 2018 at 11:38 AM Chas. Owens wrote: > That prefix appears to for the modular crypt format (see below) and lets > the shadow file use different hashing functions for different passwords. >

Re: What hash function to use

2018-08-23 Thread Chas. Owens
That prefix appears to for the modular crypt format (see below) and lets the shadow file use different hashing functions for different passwords. It is not part of the Bcrypt spec, but you should be able to just add it on. Does the password hash correctly otherwise? https://passlib.readthedocs.io

Re: What hash function to use

2018-08-23 Thread Mike Flannigan
I hope somebody helps you with this. I don't think this will help you.  It sounds like you already know all of this: https://crackstation.net/hashing-security.htm I don't know what $2b$ is.  Still trying to figure that out. It looks like Digest::Bcrypt was last updated 3/2017. I hope it hasn't

Re: What hash function to use

2018-08-23 Thread Olivier
Илья Рассадин writes: > Hi! > > See encpass from Passwd::Unix > > https://metacpan.org/pod/Passwd::Unix Thanbk you, but unless I miss something Password::Unix only provides MD5, not Blowfish. Best regards, Olivier > > On 8/23/18 10:54 AM, Olivier wrote: >> Hello, >> >> I am not sure if my que

Re: What hash function to use

2018-08-23 Thread Илья Рассадин
Hi! See encpass from Passwd::Unix https://metacpan.org/pod/Passwd::Unix On 8/23/18 10:54 AM, Olivier wrote: Hello, I am not sure if my question is really of beginer level. On a system, I have set my password to "t410" and it has ben hashed to: $2b$10$OQBll77HJqnOR.zqK2jx8ukE6m68Azc7nrsgRdcT6

What hash function to use

2018-08-23 Thread Olivier
Hello, I am not sure if my question is really of beginer level. On a system, I have set my password to "t410" and it has ben hashed to: $2b$10$OQBll77HJqnOR.zqK2jx8ukE6m68Azc7nrsgRdcT6bVfERRmzFV4. What could I use with Perl to get the same result? I tried Digest::Bcrypt but it does not support