PHP Tutorial Hash
MD5
- Calculate the MD5 hash of the string " Hello " in PHP
- Calculate the MD5 hash of the text file " test.txt " in PHP
- Get MD5 for a string in PHP
- Print the result of md5() and compare with a string value in PHP
- Print the result of md5() for Raw 16 character binary format in PHP
Hash
- Calculate the SHA-1 hash of the string " Hello " in PHP
- Calculate the SHA-1 hash of the text file " test.txt " in PHP
- Calculate the hash value for an email address in PHP
- Computes hash with mhash in PHP
- Copy hash context with hash_copy() in PHP
- Encrypt a message in PHP
- Finalize an incremental hash and return resulting digest with hash_final() in PHP
- Generate a PBKDF2 key derivation of a supplied password in PHP
- Generate a hash value (message digest) in PHP
- Generate a hash value using the contents of a given file with hash_file() in PHP
- Generate a keyed hash value using the HMAC method and the contents of a given file with hash_hmac_file() in PHP
- Generate a unique ID in PHP
- Get a list of registered hashing algorithms in PHP
- Initialize an incremental hashing context in PHP
- Print the result of sha1() and compare hash value with string in PHP
- Pump data into an active hashing context from an open stream with hash_update_stream() in PHP
CRC
- Get result of crc32() with and without the " %u " formatter in PHP
- Print the result of crc32() in PHP