Re: What hash function to use
Il 23/08/2018 10:21, Olivier ha scritto: Илья Рассадин 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 this works? Crypt::Eksblowfish::Bcrypt -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: What hash function to use
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 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/en/stable/modular_crypt_format.html I confirm it is the format for a Blowfish (2014 version), with cost 10. I could not create such a password with Perl, I resolved to use python. I needed to create over 100 accounts and I did not want to do it manually, click, click, click. That is why I was looking at writting a script. And all I knew about the encryption used by the software was what I could see for an account I has created manually. Best regards, Olivier > > On Thu, Aug 23, 2018 at 8:30 AM Mike Flannigan wrote: > > 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 been abandoned. > > Mike > > On 8/23/2018 3:00 AM, beginners-digest-h...@perl.org 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.zqK2jx8ukE6m68Azc7nrsgRdcT6bVfERRmzFV4. > > What could I use with Perl to get the same result? > > I tried Digest::Bcrypt but it does not support $2b$ as far as I can > tell. > > Thanks in advance, > > Olivier > -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: What hash function to use
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. > 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/en/stable/modular_crypt_format.html > > On Thu, Aug 23, 2018 at 8:30 AM Mike Flannigan wrote: > >> >> 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 been abandoned. >> >> >> >> Mike >> >> >> >> On 8/23/2018 3:00 AM, beginners-digest-h...@perl.org 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.zqK2jx8ukE6m68Azc7nrsgRdcT6bVfERRmzFV4. >> >> What could I use with Perl to get the same result? >> >> I tried Digest::Bcrypt but it does not support $2b$ as far as I can >> tell. >> >> Thanks in advance, >> >> Olivier >> >> >>
Re: What hash function to use
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/en/stable/modular_crypt_format.html On Thu, Aug 23, 2018 at 8:30 AM Mike Flannigan wrote: > > 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 been abandoned. > > > > Mike > > > > On 8/23/2018 3:00 AM, beginners-digest-h...@perl.org 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.zqK2jx8ukE6m68Azc7nrsgRdcT6bVfERRmzFV4. > > What could I use with Perl to get the same result? > > I tried Digest::Bcrypt but it does not support $2b$ as far as I can > tell. > > Thanks in advance, > > Olivier > > >
Re: What hash function to use
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 been abandoned. Mike On 8/23/2018 3:00 AM, beginners-digest-h...@perl.org 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.zqK2jx8ukE6m68Azc7nrsgRdcT6bVfERRmzFV4. What could I use with Perl to get the same result? I tried Digest::Bcrypt but it does not support $2b$ as far as I can tell. Thanks in advance, Olivier
Re: What hash function to use
Илья Рассадин 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 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 $2b$ as far as I can >> tell. >> >> Thanks in advance, >> >> Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: What hash function to use
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.zqK2jx8ukE6m68Azc7nrsgRdcT6bVfERRmzFV4. What could I use with Perl to get the same result? I tried Digest::Bcrypt but it does not support $2b$ as far as I can tell. Thanks in advance, Olivier -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
What hash function to use
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 $2b$ as far as I can tell. Thanks in advance, Olivier -- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/