Created
April 26, 2024 07:07
-
-
Save simonrjones/0be5deefc99bad52853be0c999af6668 to your computer and use it in GitHub Desktop.
Output example hashed values from different hash algorithms
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array_walk(hash_algos(), function($algo) { | |
echo $algo . ': ' . hash($algo, 'TEST123') . PHP_EOL; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment