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 |
How many php functions are there?
What is MIME?
What distinguishes php from something like client side java script?
What are the functions of string?
How can you execute php script from the command line?
How to upload a file (may be a .txt or a .doc file) from a php script/file?
List some array functions in php?
What are different types of runtime errors in php?
How can we pass the variable through the navigation between the pages?
What is repository in php?
How can we determine whether a variable is set?
What is prepare in php?