EncryptionIt is a concept of Encoding and Decoding the data. Basically, we have two types of Encryption in PHP. Those are
One_way Encryption:By using this, we can encode the data but we cannot decode encoded data. 1. md5() function: (Message-Digest 5) By using this function, we can encode the data as 32 characters length, alphanumeric string. SyntaxParameters
Returnsmd5() function returns the calculated md5 hash on success, or false on failure. Example 1Output: ![]() Example 2Output: ![]()
Next TopicPHP Two-way Encryption
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week