Sr. PHP Programmer Question:

What are the encryption techniques in PHP?

Tweet Share WhatsApp

Answer:

MD5 PHP implements the MD5 hash algorithm using the md5 function,
eg : $encrypted_text = md5 ($msg);

mcrypt_encrypt :- string mcrypt_encrypt ( string $cipher , string $key , string $data , string $mode [, string $iv ] );
Encrypts plaintext with given parameters

Download Senior PHP Programmer PDF Read All 202 Senior PHP Programmer Questions
Previous QuestionNext Question
How do you define a constant?How to find the position of the first occurrence of a substring in a string?