查看哈希值命令

Linux : md5sum + 文件名

$ md5sum 1.png
fe5c3f5ef1d207bc1b646911b463c907 1.png 

 

Windows : certutil -hashfile 文件名 MD5

> certutil.exe -hashfile 1.png MD5

MD5 的 1.png 哈希:
332c21600730b5b02a160e1d287118ce
CertUtil: -hashfile 命令成功完成。

 

创建一个空文本

> echo "123" > abc.txt

 

合并

Linux

$ cat 1.png abc.txt > 2.png

 

Windows (请使用windows自带终端,比如 cmd)

> type 1.png abc.txt > 3.png


此时再查看文件的hash值,应该已经改变了。这里以图片为例,其他文件同理。

相关文章:

  • 2021-11-26
  • 2022-01-19
  • 2021-09-13
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-05-17
  • 2021-04-12
  • 2022-12-23
相关资源
相似解决方案