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 <chas.ow...@gmail.com> 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 <mikef...@att.net> 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
>>
>>
>>

Reply via email to