微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

CentOs文件的完整性校验

linux

md5sum hero.png 
fefd01c9db6e3e83b978eff1b7a67c02  hero.png

 

sha1sum hero.png 
f1e929db9cef34a8786ee4b6246fb739566c799d  hero.png

 

sha256sum hero.png 
5b654b2297f17d9106388db31c1190240cfb359144925e892468b40d692c780f  hero.png

 

 

windows

E:\>certutil -hashfile hero.png md5
MD5 哈希(文件 hero.png):
fefd01c9db6e3e83b978eff1b7a67c02
CertUtil: -hashfile 命令成功完成。

 

E:\>certutil -hashfile hero.png SHA1
SHA1 哈希(文件 hero.png):
f1e929db9cef34a8786ee4b6246fb739566c799d
CertUtil: -hashfile 命令成功完成。

 

E:\>certutil -hashfile hero.png SHA256
SHA256 哈希(文件 hero.png):
5b654b2297f17d9106388db31c1190240cfb359144925e892468b40d692c780f
CertUtil: -hashfile 命令成功完成。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。