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 are the advantages of stored procedures in php?

1021


What is the difference between print() and echo()?

1105


What are the different components used in php for formatting?

1092


How do I make a reset button in html?

1079


Require_once(), require(), include(). What is difference between them?

1031


Explain what is the static variable in function useful for?

996


What does $_server means?

1075


How do we get the current session id?

1058


What is file upload?

1133


What is the difference between htmlentities and htmlspecialchars in php?

1098


How does csrf token work?

1072


What is final in php?

1164


Write down the code for save an uploaded file using php?

1035


What does the scope of variables means?

1059


Explain me what are the main error types in php and how do they differ?

1045