From the OpenBSD 4.2 man page
sha-1(1):
Code:
The sha1 command is shorthand for
cksum -a sha1
The cksum(1) command can also be used to compute digests from the SHA-2
family: sha256, sha384 and sha512.
From man
cksum(1)
Code:
-a algorithms
Use the specified algorithm(s) instead of the default (cksum).
Supported algorithms include cksum, md4, md5, rmd160, sha1,
sha256, sha384, sha512, sum, and sysvsum.