PHP Tutorial Hash

MD5

  1. Calculate the MD5 hash of the string " Hello " in PHP
  2. Calculate the MD5 hash of the text file " test.txt " in PHP
  3. Get MD5 for a string in PHP
  4. Print the result of md5() and compare with a string value in PHP
  5. Print the result of md5() for Raw 16 character binary format in PHP

Hash

  1. Calculate the SHA-1 hash of the string " Hello " in PHP
  2. Calculate the SHA-1 hash of the text file " test.txt " in PHP
  3. Calculate the hash value for an email address in PHP
  4. Computes hash with mhash in PHP
  5. Copy hash context with hash_copy() in PHP
  6. Encrypt a message in PHP
  7. Finalize an incremental hash and return resulting digest with hash_final() in PHP
  8. Generate a PBKDF2 key derivation of a supplied password in PHP
  9. Generate a hash value (message digest) in PHP
  10. Generate a hash value using the contents of a given file with hash_file() in PHP
  11. Generate a keyed hash value using the HMAC method and the contents of a given file with hash_hmac_file() in PHP
  12. Generate a unique ID in PHP
  13. Get a list of registered hashing algorithms in PHP
  14. Initialize an incremental hashing context in PHP
  15. Print the result of sha1() and compare hash value with string in PHP
  16. Pump data into an active hashing context from an open stream with hash_update_stream() in PHP

CRC

  1. Get result of crc32() with and without the " %u " formatter in PHP
  2. Print the result of crc32() in PHP




















Home »
  PHP Tutorial »
    Development »




Environment
Error
Hash
Include
Locale
Math
Network
Output
Reflection
PHP Regular Expressions