チェックサムコマンド

(22)

echo -n test > a.txt

md5sum a.txt

098f6bcd4621d373cade4e832627b4f6  a.txt

sha1sum a.txt

a94a8fe5ccb19ba61c4c0873d391e987982fbbd3  a.txt

sha256sum a.txt

9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08  a.txt

 

(11)

echo -n test > a.txt

md5sum a.txt

098f6bcd4621d373cade4e832627b4f6  a.txt

sha1sum a.txt

a94a8fe5ccb19ba61c4c0873d391e987982fbbd3  a.txt


sha256sum a.txt

9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08  a.txt

 

(7)

echo -n test > a.txt

md5sum a.txt

098f6bcd4621d373cade4e832627b4f6  a.txt

sha1sum a.txt

a94a8fe5ccb19ba61c4c0873d391e987982fbbd3  a.txt

sha256sum a.txt

9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08  a.txt

 

(2019)

https://qiita.com/akimaru86/items/792bd6654b4d44bbf775
https://qiita.com/minr/items/e171a163f89fca1ee9e0

[IO.File]::WriteAllText("a.txt","test")

certutil -hashfile a.txt MD5

098f6bcd4621d373cade4e832627b4f6

certutil -hashfile a.txt SHA1

a94a8fe5ccb19ba61c4c0873d391e987982fbbd3

certutil -hashfile a.txt SHA256

9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08