sha3sum

vb sha3sum FILE ...

Description

Compute an SHA3 checksum of all files named on the command-line. If a file is named - then take its content from standard input.

To be clear: The official NIST FIPS-202 implementation of SHA3 with the added 01 padding is used, not the original Keccak submission.

Options

--224

Compute a SHA3-224 hash

--256

Compute a SHA3-256 hash (the default)

--384

Compute a SHA3-384 hash

--512

Compute a SHA3-512 hash

--size N

An N-bit hash. N must be a multiple of 32 between 128 and 512.

-h, --dereference

If FILE is a symbolic link, compute the hash on the object pointed to, not on the link itself.

Examples

  • Compute SHA3-256 checksums

$ vb sha3sum file1.bin file2.bin
be5215abf72333a73b992dafdf4ab59884b948452e0015cfaddaa0b87a0e4515  file1.bin
006ef4138df934503f34702cfc24b743664b78635dd65844413d464e2867729c  file2.bin
  • Compute a SHA3-512 checksum

$ vb sha3sum --512 file1.bin
ade4af21be4be1aa0da020059453c104ab75966669aa1af7eec500673331a905843f1d1e69392e8c700462ffdb5b69fa10fe848f7cd00cc9d31a76da9e775321  file1.bin

See Also

See also

md5sum, sha1sum