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 the function in PHP do not return a timestamp?
What is difference between mysqli and mysql?
How to merge values of two arrays into a single array?
What is a php namespace?
What are the main error types in php and how do they differ?
What are interfaces in php?
Is php open source?
Which method removes the last element from the end of an array?
Tell me how do you define a constant?
What is a string in php?
Is age an interval or ratio?
What is the difference between unlink and unset ?