windows查看文件的md5并存储

2022-09-14  本文已影响0人  苍蝇的梦

2018-10-23 遇到的一点小问题
产生的安装包上传前需要提交md5,网上搜了下,windows可使用cmd进命令行再使用certutil -hashfile获取。
记录一下。

certutil -hashfile xxx MD5
certutil -hashfile xxx SHA1
certutil -hashfile xxx SHA256

需要在同文件夹存储MD5,顺便记录一下。

certutil -hashfile xxx MD5 > xxx.md5
certutil -hashfile

linux的

[root@wannoo ~]# md5sum test.apk 
19218db83dff6183af129a4b52d5116a  test.apk
[root@wannoo  ~]# sha1sum test.apk 
dc7d1597f4a6536a127de2685eef67fc1ac37a50  test.apk
[root@wannoo  ~]# sha256sum test.apk 

上一篇 下一篇

猜你喜欢

热点阅读