windows计算文件hash命令            

certutil -hashfile yourfilename MD5

certutil -hashfile yourfilename SHA1

certutil -hashfile yourfilename SHA256

 

D:\>certutil -hashfile 1.txt SHA1
SHA1 的 1.txt 哈希:
7e240de74fb1ed08fa08d38063f6a6a91462a815
CertUtil: -hashfile 命令成功完成。

D:\>certutil -hashfile 1.txt md5
MD5 的 1.txt 哈希:
47bce5c74f589f4867dbd57e9ca9f808
CertUtil: -hashfile 命令成功完成。

 

posted on 2021-04-25 10:54 贝隆  阅读(0)  评论(0) 编辑 收藏