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 ?

Answers were Sorted based on User's Feedback



In what are the ways you can encrypt the password ?..

Answer / prasad

using md5() function to encrypt.
but we cant decrypt it.

Is This Answer Correct ?    13 Yes 1 No

In what are the ways you can encrypt the password ?..

Answer / padmavathy

using old password, password, MD5. These are some ways to
encrypt passwords

Is This Answer Correct ?    3 Yes 1 No

In what are the ways you can encrypt the password ?..

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

In what are the ways you can encrypt the password ?..

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

In what are the ways you can encrypt the password ?..

Answer / rajyalakshmi

base64_encode

Is This Answer Correct ?    1 Yes 1 No

In what are the ways you can encrypt the password ?..

Answer / supriya

$enc=base64_encode("allinterview");
echo $enc;

Is This Answer Correct ?    0 Yes 0 No

In what are the ways you can encrypt the password ?..

Answer / raghavaiah

base64_encript

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More PHP Interview Questions

Is empty in php?

0 Answers  


What is the content of /etc directory?

0 Answers  


What is difference between compile time and run time polymorphism?

0 Answers  


Why should I store logs in a database rather than a file?

0 Answers  


What is the meaning of a persistent cookie?

0 Answers  


What are the new features in php 7?

0 Answers  


How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

0 Answers  


What are php applications?

0 Answers  


what is the url rewriting?how to rewrite the url? give any example

1 Answers  


How can we do user authentication without using session/cookies ? For ex:- From page1 accepts user name and password and need to check in all other pages whether the user has logged in or not

6 Answers   TCS,


Which operator is used to combine string values in php?

0 Answers  


What are the differences between GET and POST methods?

0 Answers  


Categories