Call php function crypt()

Can you please advise me how to call the original crypt function from PHP which is library string function?
Thank you.

Can you be more specific? crypt is just a PHP function, you call it the same as any other PHP function.

function crypt in library string return Unix DES-based algorithm,
function crypt in cakephp is function diferent function

function crypt from php string library return hash “5‘salt’password
crypt(“e918b220b0a4d804”,‘sha256’,‘abcdefghijklmnop’) return

Function crypt from cake php library is different
$hash_new= crypt(‘e918b220b0a4d804’,‘abcdefghijklmnop’);

Sorry this is my error.

I think you might be looking for Security::hash()?