string md5 ( string $str [, bool $raw_output=false ] )
用于计算字符串的MD5哈希
Sr.No | 参数 & 描述 |
---|---|
1 |
string 链接:https://www.learnfk.comhttps://www.learnfk.com/php/php-function-md5.html 来源:LearnFk无涯教程网 它包含有关字符串的信息。 |
2 |
raw_output 如果为true,则返回原始二进制格式的摘要,长度为16。 |
它以32个字符的十六进制数的形式返回哈希
<?php $str="learnfk"; echo md5($str); ?>
这将产生以下输出-
6c60b3cfe5124f982eb629e00a98f01f
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)
Python实战 · 从0到1搭建直播视频平台 -〔Barry〕
PPT设计进阶 · 从基础操作到高级创意 -〔李金宝(Bobbie)〕