PHP Interview Questions
What is Mcrypt used for?
MCrypt is a file encryption function and that is delivered as Perl extension. It is the replacement of the old crypt() package and crypt(1) command of Unix. It allows developers to encrypt files or data streams without making severe changes to their code.
 
MCrypt is was deprecated in PHP 7.1 and completely removed in PHP 7.2.