add sha512-224sum (SHA512/224) and sha512-256sum (SHA512/256)

Signed-off-by: Mattias Andrée <maandree@kth.se>
This commit is contained in:
Mattias Andrée
2016-02-24 11:36:59 +01:00
committed by sin
parent ae1da536bb
commit a392cd475e
10 changed files with 347 additions and 109 deletions

32
sha512-256sum.1 Normal file
View File

@@ -0,0 +1,32 @@
.Dd 2016-02-24
.Dt SHA512-256SUM 1
.Os sbase
.Sh NAME
.Nm sha512-256sum
.Nd compute or check SHA-512/256 message digests
.Sh SYNOPSIS
.Nm
.Op Fl c
.Op Ar file ...
.Sh DESCRIPTION
.Nm
writes SHA-512/256 (256-bit) checksums of each
.Ar file
to stdout.
If no
.Ar file
is given
.Nm
reads from stdin.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl c
Read list of SHA-512/256 checksums from each
.Ar file
and check them.
If no
.Ar file
is given
.Nm
reads from stdin.
.El