Encrypting string value using MD5 in PHP

The md5 method is used to convert the string value into md5 value.
The syntax is,

string md5 ( string $str [, bool $raw_output ] )

Parameters

str : The string.
raw_output : If the optional raw_output is set to TRUE, then the md5 digest is instead returned in raw binary format with a length of 16. Defaults to FALSE.

For Example,

echo “The MD5 value of ‘ForDevelopers’ is ” . md5(“ForDevelopers”);

Popularity: 3% [?]

Related posts:

  1. Encrypting text value using MD5 in Dot Net
  2. how to find a string within a string
You can leave a response, or trackback from your own site.

Leave a Reply

Designed by: Business Web Hosting | Thanks to Buy Icons, travel tips and Used Cars