【加密函数分享】PHP函数hash_final ()分享(2021-5-12)
发布于 2021-05-12 21:47 ,所属分类:区块连和PHP开发学习资料
每日分享PHP知识点,大家都赞同是一种动力,分享是一种美德,再说了分享一下又不会怀孕?只要你开心就好......
hash_final()结束增量哈希,并且返回摘要结果
string hash_final ( resource $context [, bool $raw_output = false ] )
参数
context
raw_output
<?php
$ctx = hash_init('sha1');
hash_update($ctx, 'The quick brown fox jumped over the lazy dog.');
echo hash_final($ctx);
?>
c0854fb9fb03c41cce3802cb0d220529e6eef94e


相关资源