php - Is Hash::make function always return 60 characters in Laravel? -


i installed fresh version of laravel 4.2, making user table , want ask if hash::make function return 60 characters can make password field data type char(60).

additional: i'm using default configurations of laravel.

judging implementation:

$hash = password_hash($value, password_bcrypt, array('cost' => $cost)); 

it uses password_hash() , according manual:

use crypt_blowfish algorithm create hash. produce standard crypt() compatible hash using "$2y$" identifier. result always 60 character string, or false on failure.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -