首页 > 系统相关 >windows 下,获取文件的md5值、sha1、sha256值

windows 下,获取文件的md5值、sha1、sha256值

时间:2023-03-21 15:02:21浏览次数:39  
标签:sha1 windows certutil md5sum filename txt hashfile sha256 md5

windows下,cmd窗口 执行下列指令可获取对应的加密值

certutil -hashfile filename MD5

certutil -hashfile filename SHA1

certutil -hashfile filename SHA256

linux下,直接md5sum 文件名 可获取文件的md5值

加密值 存储到对应文件:

md5sum person.java > a.txt

md5sum person_new.java > b.txt

diff a.txt b.txt

 

标签:sha1,windows,certutil,md5sum,filename,txt,hashfile,sha256,md5
From: https://www.cnblogs.com/xiaoxiao075/p/17240023.html

相关文章