In what are the ways you can encrypt the password ?
Answers were Sorted based on User's Feedback
Answer / padmavathy
using old password, password, MD5. These are some ways to
encrypt passwords
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / asha banu
Hi,
<?php
$password = crypt('mypassword');
if(crypt($user_input, $password)==$password)
{
echo "Password verified!";
}
?>
this is an example to encrypt the password. There is no
method for decrypt.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / ks.tarun
with md5() function
with base64_encode() function..
but in base64_encode, it will take 33% more space then
original data.
| Is This Answer Correct ? | 1 Yes | 0 No |
Which is not a file-related function in php?
what is the default method of form in php?
What is mysql in php?
Why use php artisan serve?
Tell me how is it possible to return a value from a function?
What is the function of string in c?
Specify pre-defined classes in php ?
Explain the difference between urlencode and urldecode?
What are soundex() and metaphone() functions in php?
What is the use of explode() function?
What is $_ get?
How to terminate the execution of a script in PHP?