Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In what are the ways you can encrypt the password ?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program in php to check whether a number is prime or not?

902


What is the alternative structure for control structures?

1039


Explain me how failures in execution are handled with include() and require() functions?

970


What is a php tag?

835


What is polymorphism php?

935


How I can control asset documents without GR/IR?

1580


Why would we use === instead of ==?

8789


How to get ip address of clients machine?

910


Are parent constructors called implicitly inside a class constructor?

907


Why does sql injection happen?

940


How to check a variable is array or not in php?

938


What is the name of scripting engine in php?

1162


What is php crud api?

904


What is the meaning of a persistent cookie?

1032


What is php? Why it is used?

1039