![]() The default number of rounds is 5000.Įcho "SHA-256: ".crypt( 'something', '$5$rounds=5000$anexamplestringforsalt$'). 22 charactersĮcho "Blowfish: ".crypt( 'something', '$2a$09$anexamplestringforsalt$'). The crypt() function uses a one-way algorithm.Įcho "Extended DES: ".crypt( 'something', '_S4.some'). On systems where this function supports multiple algorithms, the constantsĪbove are set to "1" if supported and "0" otherwise. Any selection of N outside this range will be truncated to the nearest limit. The default number of rounds is 5000, there is a minimum of 1000 and a maximum of 999,999,999. If the salt string starts with "rounds=$", the numeric value of N is used to indicate how many times the hashing loop should be executed, much like the cost parameter on Blowfish. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |