Simple Encryption in PHP

How to encrypt a text in php?
I want my password to be protected from human reading?

Explanation

Encrypting using php?
A text or a password encryption can be done very easily using the functions md5() or sha1() or crypt() in php. It's a basic need to protect the password. The first step towards it is to encrypt it.
Text Encryption Using MD5 ( RSA's MD5 Message-Digest Algorithm ):
Example:
Original Text - This is test
Encrypted Text - fe1ca9859cefff19959d57aadc17187e

PHP Topics


Ask Questions

Ask Question