First write the comment content.
Then create a new function jiami.
Related recommendations: "php tutorial"
Create a new variable $pwd.
Use the MD5 function to encrypt the password.
Then print the result.
Call function jiami();
Just open the browser to test!
The above is the detailed content of How to encrypt password in php. For more information, please follow other related articles on the PHP Chinese website!