Crypt
Crypt() is Unix C library function used for hashing passwords
Md5
Cryptographic hash function with a 128-bit (16-byte) hash value
Others
Example |
---|
Unix md5 crypt doesn t use plain md5;that would be insecure because plain md5 is fast and password hash should be slow from question Generate Unix-Style MD5 Password Hash in C# |
Note that you may also want to verify what encryption algorithm is actually used when you call crypt;md5 is no longer secure and it can be broken with a good gpu no typo you can use your graphics card to break a hash from question How exactly to implement Blowfish in php |
Then i filled it with a md5 encrypt model- id the md5 value is much shorter and because it also uses laravel s crypt it can t be guessed from question Limit Laravel 5 Encryption length |
I should also mention that crypt has this built-in and may be a better solution than md5 from question Md5 hashed string to normal string |