@@ -167,7 +167,29 @@ Hashing algorithm: Unix (Crypt)
167167
168168## Hash algorithms
169169
170- TODO
170+ Below is a table containing all of the supported hash implementations with example hashes.
171+ The hashed password is "password", the salt if required have been generated randomly.
172+
173+ Name | Hash | Details
174+ --- | --- | ---
175+ Cleartext | password | Never use this. Only for development.
176+ Courier base64-encoded MD5 | {MD5RAW}5f4dcc3b5aa765d61d8327deb882cf99 | No salt supported.
177+ Courier hexadecimal MD5 | {MD5}X03MO1qnZdYdgyfeuILPmQ== | No salt supported.
178+ Courier base64-encoded SHA1 | {SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g= | No salt supported.
179+ Courier base64-encoded SHA256 | {SHA256}XohImNooBHFR0OVvjcYpJ3NgPQ1qq73WKhHvch0VQtg= | No salt supported.
180+ Unix (Crypt) | $2y$10$5rsN1fmoSkaRy9bqhozAXOr0mn0QiVIfd2L04Bbk1Go9MjdvotwBq | See [ crypt] ( http://php.net/manual/en/function.crypt.php ) .
181+ Argon2 (Crypt) | $argon2i$v=19$m=1024,t=2,p=2$NnpSNlRNLlZobnJHUDh0Sw$oW5E1cfdPzLWfkTvQFUyzTR00R0aLwEdYwldcqW6Pmo | Requires PHP >= 7.2.<br />Uses default parameters. See [ password_hash] ( http://php.net/manual/en/function.password-hash.php ) .
182+ Blowfish (Crypt) | $2y$10$5rsN1fmoSkaRy9bqhozAXOr0mn0QiVIfd2L04Bbk1Go9MjdvotwBq | Uses default parameters. See [ password_hash] ( http://php.net/manual/en/function.password-hash.php ) .
183+ Extended DES (Crypt) | ..UZoIyj/Hy/c |
184+ MD5 (Crypt) | $1$RzaFbNcU$u9adfTY/Q6za6nu0Ogrl1/ |
185+ SHA256 (Crypt) | $5$rounds=5000$VIYD0iHkg7uY9SRc$v2XLS/9dvfFN84mzGvW9wxnVt9Xd/urXaaTkpW8EwD1 | Generates hash with 5000 rounds.
186+ SHA512 (Crypt) | $6$rounds=5000$yH.Q0OL4qbCOUJ3q$Xry5EVFva3wKnfo8/ktrugmBd8tcl34NK6rXInv1HhmdSUNLEm0La9JnA57rqwQ.9/Bz513MD4tvmmISLUIHs/ | Generates hash with 5000 rounds.
187+ Standard DES (Crypt) | yTBnb7ab/N072 |
188+ Joomla MD5 Encryption | 14d21b49b0f13e2acba962b6b0039edd: haJK0yTvBXTNMh76xwEw5RYEVpJsN8us | Generates 32 chars salt.
189+ MD5 | 5f4dcc3b5aa765d61d8327deb882cf99 | No salt supported.
190+ SHA1 | 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 | No salt supported.
191+ SSHA256 | {SSHA256}+WxTB3JxprNteeovsuSYtgI+UkVPA9lfwGoYkz3Ff7hjd1FSdmlTMkNsSExyR21KM3NvNTZ5V0p4WXJMUjFzUg== | Generates 32 chars salt.
192+ SSHA512 | {SSHA512}It+v1kAEUBbhMJYJ2swAtz+RLE6ispv/FB6G/ALhK/YWwEmrloY+0jzrWIfmu+rWUXp8u0Tg4jLXypC5oXAW00IyYnRVdEZJbE9wak96bkNRVWFCYmlJNWxrdTA0QmhL | Generates 32 chars salt.
171193
172194## Development
173195
0 commit comments