Debian9系统如何用sha1sum命令验证文件完整性
发布时间:2023-9-15 17:33:48 来源: 纵横云
Debian9系统如何用sha1sum命令验证文件完整性
1.使用sha1sum命令查看文件的sha1加密值,sha1sum <文件名>

2.复制相同的文件进行查看测试sha1sum加密信息

可以查看到两个文件的sha1加密值是一致的
3.对test.log文件进行修改后比对

test.log文件修改变动后,sha1加密值也随之变更了,以此来检验文件是否完整
本文来源:
https://www.zonghengcloud.com/article/12397.html
[复制链接]
链接已复制