Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Tell me what are the encryption techniques in PHP?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

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 Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what are the different errors in PHP?Tell me how to strip whitespace (or other characters) from the beginning and end of a string?