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 |
Write a program to get second highest number in an array using php?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
How to remove leading and trailing spaces from user input values in php?
What the use of var_dump()?
What is printf in php?
How to include a file code in different files in php?
I have done 12th and then i completed 2 years course of web designing and development from xplora design skool, kota(rajasthan). I am a fresher. How much can i earn in this field ?
What is trim function in php?
What is the use of header() function in PHP? What the Limitation of HEADER()?
What is difference between md5 and SHA256?
Is php a float?
What is the mysql injection?