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

How do you define a constant?

952


What is the difference between rest and soap?

1110


How to find the length of a string?

948


What function do we use to find length of string, and length of array?

938


How do I clear my browser session?

1028


Write a program to get lcm of two numbers using php?

947


What is string in php?

976


What is http php?

935


Is array function in php?

999


Which variable declarations within a class is invalid in php?

960


How many types of arrays are there in php?

950


What is session in PHP. How to remove data from a session?

968


What is namespaces in PHP?

978


What is the use of post in php?

974


Which is the best php framework for a beginner?

990