WWhat is the functionality of md5 function in PHP?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of mysql_real_escape_string in php?

443


How many escape sequences are recognized in single-quoted strings?

483


What is asort php?

534


What is sticky form in php?

497


What is the purpose of a query?

498






What is empty php?

487


Can a trait extend a class php?

506


What are advantages of .htaccess?

525


What is isset post?

566


What is static variable in php?

606


Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()

1808


What is mvc php?

513


What type of operation is needed when passing values through a form or an url?

521


How to set session.gc_divisor properly?

585


How can you pass a variable by reference?

554