● サンプルファイル
$ cat sample.txt 012345789
● MD5
$ openssl dgst -md5 sample.txt MD5(sample.txt)= 08613e2bda9810a0bad4a3aa27026a0f
● SHA-1
$ openssl dgst -sha1 sample.txt SHA1(sample.txt)= c3cdea3defde329b4a78e4cffdd3df482a995c01
● SHA-224
$ openssl dgst -sha224 sample.txt SHA224(sample.txt)= 3bbc6da6afdc04abe50b509e96458b6b50ac6da3cd87ca211c8f4444
● SHA-256
$ openssl dgst -sha256 sample.txt SHA256(sample.txt)= c36b5673cec28686c38a1b0306532a613ef1d88e361c0764b4b490d1742041f8
【参考】