How can we encrypt the username and password using PHP?

Answer Posted / master

best is to use md5() or sha1(). base64_encode is not
actually encoding used for username or password.

Is This Answer Correct ?    27 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of token in php?

502


Is php faster than python?

561


What is full form of PHP?

611


Is php closing tag necessary?

556


Write a program to find no of days between two dates in php?

519






What are the rules to determine the “truth” of any value which is not already of the boolean type?

513


How to create a session? How to set a value in session? How to remove data from a session?

512


What is delimiter php?

533


What is __ construct in php?

542


How can we get ip address of a client in php?

542


Explain what does the unlink() function means?

550


What is $_ get?

532


What is config file in php?

537


Code to upload a file in PHP?

559


What is difference between session and cookie in PHP?

522