生成、查看文件的MD5、SHA、SHA256值

生成文件的MD5、SHA、SHA256

 Linux系统生成MD5、SHA、SHA256

md5sum file1.zip  >> MD5.txt

sha1sum file1.zip >> SHA1.txt

sha256sum file1.zip >> SHA256.txt

windows系统生成MD5、SHA、SHA256

certutil -hashfile file1.zip MD5 >> MD5.txt

certutil -hashfile file1.zip SHA1 >>SHA1.txt

certutil -hashfile file1.zip SHA256 >> SHA256.txt

Windows命令查看文件MD5,SHA1,SHA256 文件校验

certutil -hashfile yourfilename.ext MD5

certutil -hashfile yourfilename.ext SHA1

certutil -hashfile yourfilename.ext SHA256

或者某些网站上传文件会显示出来,例如:

https://www.virustotal.com/#/file/07957d6b72fd56668efdbc005e8069f670674132c05b5c6d7de0225a33b88f9c/detection

原文地址:https://www.cnblogs.com/wgscd/p/10394394.html