码迷,mamicode.com
首页 > 其他好文 > 详细

CentOs文件的完整性校验

时间:2018-11-12 19:59:22      阅读:701      评论:0      收藏:0      [点我收藏+]

标签:sum   cer   span   class   file   inux   c11   util   style   

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 命令成功完成。

 

CentOs文件的完整性校验

标签:sum   cer   span   class   file   inux   c11   util   style   

原文地址:https://www.cnblogs.com/tsing0520/p/9948299.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!