Comparing passwords with crypt() in PHP

前端 未结 6 1066
谎友^
谎友^ 2020-12-02 21:01

I need to get the basics of this function. The php.net documentation states, for the blowfish algorithm, that:

Blowfish hashing with a salt as follow

6条回答
  •  时光说笑
    2020-12-02 21:42

    Quoting from the manual

    CRYPT_BLOWFISH - Blowfish hashing with a salt as follows: "$2a$", a two digit cost parameter, "$", and 22 base 64 digits from the alphabet

    Note: 22 base 64 digits

提交回复
热议问题