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 |
What is substr() in php? And how it is used?
Will php die?
What is beforeRender() used?
A process can run only in the background. State Whether True or False?
Is it more secure to use cookies to transfer session ids?
What is active record in php?
What is the delimiter default in PHP?
What is php constructor?
What is the difference between array_merge() and array_merge_recursive() in php?
What is isset and unset in php?
Why json is used in php?
How to include a file code in different files in php?