1. 首页
  2. 编程语言
  3. C
  4. SHA256.rar

SHA256.rar

上传者: 2019-09-23 19:04:33上传 RAR文件 2.64KB 热度 34次
无需将消息一次读入内存,通过循环调用sha256_update1即可计算摘要值,摘要值最后存储在hash[32]中;可以利用SHA256在线工具验证;sha256_init(&ctx;);sha256_update1(&ctx;,message1,64);sha256_update1(&ctx;,message2,63);sha256_final(&ctx;,hash);附在线工具:http://tool.oschina.net/encrypt?type=2
下载地址
用户评论