简介
平时遇到需要计算字符串md5值的时候,一般会使用在线小工具计算,今天发现windows自带了这个功能,特此分享。
正文
step1:把你需要加密的字符串保存成记事本文档。
step2:cmd或powershell运行命令计算。
- 计算MD5
certutil -hashfile "C:\Users\YK-290\Desktop\新建文本文档.txt"md5
2.计算SHA1certutil -hashfile "C:\Users\YK-290\Desktop\新建文本文档.txt"sha1
3.计算SHA1 certutil -hashfile "C:\Users\YK-290\Desktop\新建文本文档.txt"sha256