3 sum, md5sum, sha1sum \- sum and count blocks in a file
28 calculates and prints a 32-bit hexadecimal checksum,
33 The checksum is also a function of the input length.
39 Other summing algorithms are available.
45 Sum with the algorithm of System V's
47 and print the length (in 1K blocks) of the input.
50 Sum with System V's default algorithm
51 and print the length (in 512-byte blocks) of the input.
54 is typically used to look for bad spots,
55 to validate a file communicated over
56 some transmission line or
57 as a quick way to determine if two files on different machines might be the same.
60 computes the 32 hex digit RSA Data Security, Inc. MD5 Message-Digest Algorithm
64 computes the 40 hex digit National Institute of Standards and Technology
66 SHA1 secure hash algorithm
67 described in FIPS PUB 180-1,
72 it instead computes the
74 NIST SHA2 secure hash algorithm
75 described in FIPS PUB 180-2
76 and prints the hash in hex.
77 Currently supported values of
88 .B /sys/src/cmd/md5sum.c
90 .B /sys/src/cmd/sha1sum.c