WWhat is the functionality of md5 function in PHP?
Answers were Sorted based on User's Feedback
Answer / lakum
md5 means Messagedigest5 is an algorithem
converst the plain text to hipher text
mainly used in store the user passwords in database
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / dn singh
With the md5 function you can encrypt your text with 32
character hexadecimal string.
For Ex.
$str = 'apple';
echo md5($str);
this prints '1f3870be274f6c49b3e31a0c6728957f'
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / vivek
Calculates the MD5 hash of str using the ? RSA Data
Security, Inc. MD5 Message-Digest Algorithm, and returns
that hash. The hash is a 32-character hexadecimal number. 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.
The optional raw_output parameter was added in PHP 5.0.0 and
defaults to FALSE
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / diwakar tiwari
md5 is one encryption algorithm. for using this function we
can store password in database. After using this function ,
we can not decrypt password. it convert plain text into 32-
character hexadecimal number.
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / dhirendra yadav
md5-messagedigest5..it is encryption algorithm.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / hirak
calculate md5 hash of a string.
hash is 32-character hexadecimal string.
| Is This Answer Correct ? | 3 Yes | 1 No |
Is strcmp case sensitive?
Which php framework is best for security?
What is split function in php?
How can I know that a variable is a number or not using a JavaScript?
What is mysql_fetch_object?
What are the variables in php?
how we can retrive data in pdf along php mysql?
How the values are ordered in an array?
How many functions are there in php?
What is the use of mysql_real_escape_string in php?
How to randomly retrieve a value from an array?
What is namespace and use in php?