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

What is the role of the .htaccess file in php?

961


What is csrf token and how it works?

1003


What is a string in r?

933


Does exist in php?

981


What is the use session in php?

1037


Explain how can we increase the execution time of a php script?

1005


What is split function in php?

965


Where are php configuration settings stored?

1024


What are include() and require() functions?

962


Does php support polymorphism?

952


Is php 7.0 stable?

928


Tell me how to retrieve a cookie value?

1021


How can we automatically escape incoming data?

985


What is the difference between javascript and php?

1036


What does the scope of variables mean?

958