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 $_ get in php?
How can we send mail using JavaScript?
Which function can be used to exit from the script after displaying the error message?
Explain how is it possible to cast types in php?
how to track user logged out or not? when a user is idle?
What is serialization in php?
What is difference between sql and php?
Why do we use interface in php?
What does $_env means?
How many types of array are there in php?
What are the advantages of stored procedures in php?
Tell me what kind of things have you done on the social side?