hash_update_file
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL hash >= 1.1)
hash_update_file — 从文件向活跃的散列运算上下文中填充数据
参数
context
-
由 hash_init() 函数返回的散列运算上下文。
filename
-
要进行散列运算的文件位置的 URL;支持 fopen() 封装器。
stream_context
-
由 stream_context_create() 函数返回的流上下文。
参见
- hash_init() - 初始化增量散列运算上下文
- hash_update() - 向活跃的哈希运算上下文中填充数据
- hash_update_stream() - 从打开的流向活跃的散列运算上下文中填充数据
- hash_final() - 结束增量散列且返回摘要结果
- hash_file() - 给指定文件的内容生成散列值
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.hash-update-file.php