crypt - 语法

string crypt ( string $str [, string $salt ] )

它用于对字符串进行哈希处理

Sr.No 参数 & Description
1

str

要进行哈希处理的字符串

crypt - 返回值

它返回散列字符串

crypt - 示例

<?php
   $input='information';
   
   $hash=crypt($input);
?>

参考链接

https://www.learnfk.com/php/php-function-crypt.html