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 can we pass the variable through the navigation between the pages?
What do you mean by MVC ?
What does the array operator '===' means?
Does php have a future?
Explain preg_Match and preg_replace?
Can we override static method?
What is a php namespace?
Could we start a variable with number like $4name?
how to set session expire(session timeout) using php code
What are the encryption functions in php?
What is php dependency injection?
Explain how we can get the number of elements in an array?