History log of /openbsd-current/bin/md5/cksum.1
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.42 31-Oct-2023 millert

cksum: better describe the -c (checklist) option

The -c option can handle entries in normal (BSD) and reverse (GNU)
format. Both hex and base64 entries are supported. OK jmc@


Revision tags: OPENBSD_7_4_BASE
# 1.41 18-Aug-2023 kn

use imperative tense consistently; OK jmc


Revision tags: OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.40 04-Aug-2022 jsg

change some 4.4BSD references to earlier releases
ok schwarze@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.39 03-Sep-2016 tedu

add sha512/256 support to check that the libc code is right :)


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.38 20-Mar-2014 tedu

missed a turd


# 1.37 20-Mar-2014 tedu

purge sum and sysvsum code. ok deraadt jmc lteo millert
a few initial leftovers spotted by naddy


# 1.36 20-Mar-2014 naddy

remove insecure MD4 checksum algorithm; ok tedu@, man page ok jmc@

"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."


# 1.35 17-Mar-2014 jmc

use Ex;


# 1.34 07-Mar-2014 lteo

When using the -C option, exit with an exit status of 1 if any of the
files specified on the command line do not exist in the checklist.

ok deraadt@ tedu@


Revision tags: OPENBSD_5_5_BASE
# 1.33 30-Jan-2014 lteo

Add MISSING to the list of possible results of a checklist comparison
(md5.1 already has this).


# 1.32 24-Jan-2014 jmc

bump the year for ISO/IEC 8802:3 from 1989 to 1996;
ingo recommends not defining a new St macro for every revision here

ok sobrado schwarze


# 1.31 20-Jan-2014 schwarze

Do not use .Ar for fixed strings, it is intended for argument placeholders.
We could switch to .Cm, but jmc@ thinks that just removing the markup
from the algorith names is better in this case. Otherwise, the
total amount of markup could be considered excessive.


# 1.30 20-Jan-2014 schwarze

The strings "1" and "2" are not placeholders for arguments,
but have to be given verbatim on the command line, so use .Cm.
Found while testing mandocdb(8), ok jmc@.


# 1.29 15-Jan-2014 jmc

add -C to the man page, and adjust usage();
ok lteo


# 1.28 10-Jan-2014 jmc

catch up to the fact that md5/sha* got merged, and document -c consistently;
some style and cleanup tweaks while here

ok deraadt


# 1.27 08-Jan-2014 jmc

sort options;


# 1.26 08-Jan-2014 deraadt

Add support for -h hashfile. This is very useful with with -p, in a pipeline,
to deliver the hash output to a different location.
ok millert


# 1.25 29-Dec-2013 jmc

update sha256(1) to better reflect that it documents sha512 now too.
that led me to whack some unneccessary mark up and quoting (and phrasing),
and the changes to the other pages are really just to unify the newer
text layout;

tedu provided feedback and answers (thanks);


Revision tags: OPENBSD_5_4_BASE
# 1.24 15-Apr-2013 millert

SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in a
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.23 07-Nov-2010 jmc

more EXIT STATUS bits; from Daniel Dickman


Revision tags: OPENBSD_4_8_BASE
# 1.22 12-Jul-2010 tedu

replace rmd160 links with sha256. it's way more popular and more better, too.
too many oks to enumerate.
while here, add Xr to the relevant libc functions in each page.


# 1.21 26-Mar-2010 jmc

dispense with some wacky escape sequences;


Revision tags: OPENBSD_4_7_BASE
# 1.20 16-Aug-2009 sobrado

replace ".Ar file ..." with ".Ar" whenever possible.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.19 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_4_BASE
# 1.18 29-Jul-2008 sobrado

md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;
while here, some KNF improvements.

based on a diff for compress(1) written by millert@,
fixes from guenther@ and pyr@.

ok millert@, pyr@; (for the manual page tweaks) jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.17 31-May-2007 jmc

convert to new .Dd format;


# 1.16 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.15 13-Apr-2007 tedu

allow multiple -t to increase the test count. cpus are getting too fast.
ok grunk. with manpage from grunk and jmc


# 1.14 27-Mar-2007 millert

Add base64 support to cksum and friends. Output encoding can
be set globally or on a per-algorithm basis when using multiple
hash functions. OK espie@ simon@ deraadt@; man help from jmc@


# 1.13 20-Mar-2007 thib

augment the -q option, now if specifed with -c (checklist)
it will only print out the failed cases.

OK millert@


Revision tags: OPENBSD_4_1_BASE
# 1.12 27-Feb-2007 millert

Add md5 to the list of unsecure checksums. Adapted from a diff by
Tamas TEVESZ.


# 1.11 19-Nov-2006 jmc

WARNING/BUGS -> CAVEATS; ok millert


# 1.10 17-Nov-2006 jmc

`<' -> \*(Lt


# 1.9 17-Nov-2006 jmc

discourage .Tn;


# 1.8 17-Nov-2006 jmc

.Ex these pages; ok millert


# 1.7 17-Nov-2006 jmc

simplify synopsis and usage(); ok millert


# 1.6 16-Nov-2006 millert

Add -r and -q options similar to what is supported by FreeBSD's md5
OK deraadt@ ckuethe@


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 07-Mar-2005 jmc

more macro simplification;


# 1.4 25-Feb-2005 jmc

avoid specifying which hash to use;
this after some discussion w/ otto;

started by pr #4120, from andy isaacson;


# 1.3 29-Dec-2004 millert

Add support for multiple using algorithms. OK'd by several people
a while ago so get this out of my tree...


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-May-2004 jmc

- simplify synopses
- correct macros
- various grammatical fixes

ok millert@


# 1.1 02-May-2004 millert

Add support for cksum (3 varieties), md4, sha256, sha384, and sha512.
Consequently, cksum moves becomes a link to md5 and moves to /bin.
The cksum man page could use some polishing.


# 1.41 18-Aug-2023 kn

use imperative tense consistently; OK jmc


Revision tags: OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.40 04-Aug-2022 jsg

change some 4.4BSD references to earlier releases
ok schwarze@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.39 03-Sep-2016 tedu

add sha512/256 support to check that the libc code is right :)


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.38 20-Mar-2014 tedu

missed a turd


# 1.37 20-Mar-2014 tedu

purge sum and sysvsum code. ok deraadt jmc lteo millert
a few initial leftovers spotted by naddy


# 1.36 20-Mar-2014 naddy

remove insecure MD4 checksum algorithm; ok tedu@, man page ok jmc@

"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."


# 1.35 17-Mar-2014 jmc

use Ex;


# 1.34 07-Mar-2014 lteo

When using the -C option, exit with an exit status of 1 if any of the
files specified on the command line do not exist in the checklist.

ok deraadt@ tedu@


Revision tags: OPENBSD_5_5_BASE
# 1.33 30-Jan-2014 lteo

Add MISSING to the list of possible results of a checklist comparison
(md5.1 already has this).


# 1.32 24-Jan-2014 jmc

bump the year for ISO/IEC 8802:3 from 1989 to 1996;
ingo recommends not defining a new St macro for every revision here

ok sobrado schwarze


# 1.31 20-Jan-2014 schwarze

Do not use .Ar for fixed strings, it is intended for argument placeholders.
We could switch to .Cm, but jmc@ thinks that just removing the markup
from the algorith names is better in this case. Otherwise, the
total amount of markup could be considered excessive.


# 1.30 20-Jan-2014 schwarze

The strings "1" and "2" are not placeholders for arguments,
but have to be given verbatim on the command line, so use .Cm.
Found while testing mandocdb(8), ok jmc@.


# 1.29 15-Jan-2014 jmc

add -C to the man page, and adjust usage();
ok lteo


# 1.28 10-Jan-2014 jmc

catch up to the fact that md5/sha* got merged, and document -c consistently;
some style and cleanup tweaks while here

ok deraadt


# 1.27 08-Jan-2014 jmc

sort options;


# 1.26 08-Jan-2014 deraadt

Add support for -h hashfile. This is very useful with with -p, in a pipeline,
to deliver the hash output to a different location.
ok millert


# 1.25 29-Dec-2013 jmc

update sha256(1) to better reflect that it documents sha512 now too.
that led me to whack some unneccessary mark up and quoting (and phrasing),
and the changes to the other pages are really just to unify the newer
text layout;

tedu provided feedback and answers (thanks);


Revision tags: OPENBSD_5_4_BASE
# 1.24 15-Apr-2013 millert

SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in a
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.23 07-Nov-2010 jmc

more EXIT STATUS bits; from Daniel Dickman


Revision tags: OPENBSD_4_8_BASE
# 1.22 12-Jul-2010 tedu

replace rmd160 links with sha256. it's way more popular and more better, too.
too many oks to enumerate.
while here, add Xr to the relevant libc functions in each page.


# 1.21 26-Mar-2010 jmc

dispense with some wacky escape sequences;


Revision tags: OPENBSD_4_7_BASE
# 1.20 16-Aug-2009 sobrado

replace ".Ar file ..." with ".Ar" whenever possible.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.19 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_4_BASE
# 1.18 29-Jul-2008 sobrado

md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;
while here, some KNF improvements.

based on a diff for compress(1) written by millert@,
fixes from guenther@ and pyr@.

ok millert@, pyr@; (for the manual page tweaks) jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.17 31-May-2007 jmc

convert to new .Dd format;


# 1.16 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.15 13-Apr-2007 tedu

allow multiple -t to increase the test count. cpus are getting too fast.
ok grunk. with manpage from grunk and jmc


# 1.14 27-Mar-2007 millert

Add base64 support to cksum and friends. Output encoding can
be set globally or on a per-algorithm basis when using multiple
hash functions. OK espie@ simon@ deraadt@; man help from jmc@


# 1.13 20-Mar-2007 thib

augment the -q option, now if specifed with -c (checklist)
it will only print out the failed cases.

OK millert@


Revision tags: OPENBSD_4_1_BASE
# 1.12 27-Feb-2007 millert

Add md5 to the list of unsecure checksums. Adapted from a diff by
Tamas TEVESZ.


# 1.11 19-Nov-2006 jmc

WARNING/BUGS -> CAVEATS; ok millert


# 1.10 17-Nov-2006 jmc

`<' -> \*(Lt


# 1.9 17-Nov-2006 jmc

discourage .Tn;


# 1.8 17-Nov-2006 jmc

.Ex these pages; ok millert


# 1.7 17-Nov-2006 jmc

simplify synopsis and usage(); ok millert


# 1.6 16-Nov-2006 millert

Add -r and -q options similar to what is supported by FreeBSD's md5
OK deraadt@ ckuethe@


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 07-Mar-2005 jmc

more macro simplification;


# 1.4 25-Feb-2005 jmc

avoid specifying which hash to use;
this after some discussion w/ otto;

started by pr #4120, from andy isaacson;


# 1.3 29-Dec-2004 millert

Add support for multiple using algorithms. OK'd by several people
a while ago so get this out of my tree...


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-May-2004 jmc

- simplify synopses
- correct macros
- various grammatical fixes

ok millert@


# 1.1 02-May-2004 millert

Add support for cksum (3 varieties), md4, sha256, sha384, and sha512.
Consequently, cksum moves becomes a link to md5 and moves to /bin.
The cksum man page could use some polishing.


# 1.40 04-Aug-2022 jsg

change some 4.4BSD references to earlier releases
ok schwarze@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.39 03-Sep-2016 tedu

add sha512/256 support to check that the libc code is right :)


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.38 20-Mar-2014 tedu

missed a turd


# 1.37 20-Mar-2014 tedu

purge sum and sysvsum code. ok deraadt jmc lteo millert
a few initial leftovers spotted by naddy


# 1.36 20-Mar-2014 naddy

remove insecure MD4 checksum algorithm; ok tedu@, man page ok jmc@

"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."


# 1.35 17-Mar-2014 jmc

use Ex;


# 1.34 07-Mar-2014 lteo

When using the -C option, exit with an exit status of 1 if any of the
files specified on the command line do not exist in the checklist.

ok deraadt@ tedu@


Revision tags: OPENBSD_5_5_BASE
# 1.33 30-Jan-2014 lteo

Add MISSING to the list of possible results of a checklist comparison
(md5.1 already has this).


# 1.32 24-Jan-2014 jmc

bump the year for ISO/IEC 8802:3 from 1989 to 1996;
ingo recommends not defining a new St macro for every revision here

ok sobrado schwarze


# 1.31 20-Jan-2014 schwarze

Do not use .Ar for fixed strings, it is intended for argument placeholders.
We could switch to .Cm, but jmc@ thinks that just removing the markup
from the algorith names is better in this case. Otherwise, the
total amount of markup could be considered excessive.


# 1.30 20-Jan-2014 schwarze

The strings "1" and "2" are not placeholders for arguments,
but have to be given verbatim on the command line, so use .Cm.
Found while testing mandocdb(8), ok jmc@.


# 1.29 15-Jan-2014 jmc

add -C to the man page, and adjust usage();
ok lteo


# 1.28 10-Jan-2014 jmc

catch up to the fact that md5/sha* got merged, and document -c consistently;
some style and cleanup tweaks while here

ok deraadt


# 1.27 08-Jan-2014 jmc

sort options;


# 1.26 08-Jan-2014 deraadt

Add support for -h hashfile. This is very useful with with -p, in a pipeline,
to deliver the hash output to a different location.
ok millert


# 1.25 29-Dec-2013 jmc

update sha256(1) to better reflect that it documents sha512 now too.
that led me to whack some unneccessary mark up and quoting (and phrasing),
and the changes to the other pages are really just to unify the newer
text layout;

tedu provided feedback and answers (thanks);


Revision tags: OPENBSD_5_4_BASE
# 1.24 15-Apr-2013 millert

SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in a
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.23 07-Nov-2010 jmc

more EXIT STATUS bits; from Daniel Dickman


Revision tags: OPENBSD_4_8_BASE
# 1.22 12-Jul-2010 tedu

replace rmd160 links with sha256. it's way more popular and more better, too.
too many oks to enumerate.
while here, add Xr to the relevant libc functions in each page.


# 1.21 26-Mar-2010 jmc

dispense with some wacky escape sequences;


Revision tags: OPENBSD_4_7_BASE
# 1.20 16-Aug-2009 sobrado

replace ".Ar file ..." with ".Ar" whenever possible.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.19 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_4_BASE
# 1.18 29-Jul-2008 sobrado

md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;
while here, some KNF improvements.

based on a diff for compress(1) written by millert@,
fixes from guenther@ and pyr@.

ok millert@, pyr@; (for the manual page tweaks) jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.17 31-May-2007 jmc

convert to new .Dd format;


# 1.16 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.15 13-Apr-2007 tedu

allow multiple -t to increase the test count. cpus are getting too fast.
ok grunk. with manpage from grunk and jmc


# 1.14 27-Mar-2007 millert

Add base64 support to cksum and friends. Output encoding can
be set globally or on a per-algorithm basis when using multiple
hash functions. OK espie@ simon@ deraadt@; man help from jmc@


# 1.13 20-Mar-2007 thib

augment the -q option, now if specifed with -c (checklist)
it will only print out the failed cases.

OK millert@


Revision tags: OPENBSD_4_1_BASE
# 1.12 27-Feb-2007 millert

Add md5 to the list of unsecure checksums. Adapted from a diff by
Tamas TEVESZ.


# 1.11 19-Nov-2006 jmc

WARNING/BUGS -> CAVEATS; ok millert


# 1.10 17-Nov-2006 jmc

`<' -> \*(Lt


# 1.9 17-Nov-2006 jmc

discourage .Tn;


# 1.8 17-Nov-2006 jmc

.Ex these pages; ok millert


# 1.7 17-Nov-2006 jmc

simplify synopsis and usage(); ok millert


# 1.6 16-Nov-2006 millert

Add -r and -q options similar to what is supported by FreeBSD's md5
OK deraadt@ ckuethe@


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 07-Mar-2005 jmc

more macro simplification;


# 1.4 25-Feb-2005 jmc

avoid specifying which hash to use;
this after some discussion w/ otto;

started by pr #4120, from andy isaacson;


# 1.3 29-Dec-2004 millert

Add support for multiple using algorithms. OK'd by several people
a while ago so get this out of my tree...


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-May-2004 jmc

- simplify synopses
- correct macros
- various grammatical fixes

ok millert@


# 1.1 02-May-2004 millert

Add support for cksum (3 varieties), md4, sha256, sha384, and sha512.
Consequently, cksum moves becomes a link to md5 and moves to /bin.
The cksum man page could use some polishing.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.39 03-Sep-2016 tedu

add sha512/256 support to check that the libc code is right :)


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.38 20-Mar-2014 tedu

missed a turd


# 1.37 20-Mar-2014 tedu

purge sum and sysvsum code. ok deraadt jmc lteo millert
a few initial leftovers spotted by naddy


# 1.36 20-Mar-2014 naddy

remove insecure MD4 checksum algorithm; ok tedu@, man page ok jmc@

"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."


# 1.35 17-Mar-2014 jmc

use Ex;


# 1.34 07-Mar-2014 lteo

When using the -C option, exit with an exit status of 1 if any of the
files specified on the command line do not exist in the checklist.

ok deraadt@ tedu@


Revision tags: OPENBSD_5_5_BASE
# 1.33 30-Jan-2014 lteo

Add MISSING to the list of possible results of a checklist comparison
(md5.1 already has this).


# 1.32 24-Jan-2014 jmc

bump the year for ISO/IEC 8802:3 from 1989 to 1996;
ingo recommends not defining a new St macro for every revision here

ok sobrado schwarze


# 1.31 20-Jan-2014 schwarze

Do not use .Ar for fixed strings, it is intended for argument placeholders.
We could switch to .Cm, but jmc@ thinks that just removing the markup
from the algorith names is better in this case. Otherwise, the
total amount of markup could be considered excessive.


# 1.30 20-Jan-2014 schwarze

The strings "1" and "2" are not placeholders for arguments,
but have to be given verbatim on the command line, so use .Cm.
Found while testing mandocdb(8), ok jmc@.


# 1.29 15-Jan-2014 jmc

add -C to the man page, and adjust usage();
ok lteo


# 1.28 10-Jan-2014 jmc

catch up to the fact that md5/sha* got merged, and document -c consistently;
some style and cleanup tweaks while here

ok deraadt


# 1.27 08-Jan-2014 jmc

sort options;


# 1.26 08-Jan-2014 deraadt

Add support for -h hashfile. This is very useful with with -p, in a pipeline,
to deliver the hash output to a different location.
ok millert


# 1.25 29-Dec-2013 jmc

update sha256(1) to better reflect that it documents sha512 now too.
that led me to whack some unneccessary mark up and quoting (and phrasing),
and the changes to the other pages are really just to unify the newer
text layout;

tedu provided feedback and answers (thanks);


Revision tags: OPENBSD_5_4_BASE
# 1.24 15-Apr-2013 millert

SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in a
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.23 07-Nov-2010 jmc

more EXIT STATUS bits; from Daniel Dickman


Revision tags: OPENBSD_4_8_BASE
# 1.22 12-Jul-2010 tedu

replace rmd160 links with sha256. it's way more popular and more better, too.
too many oks to enumerate.
while here, add Xr to the relevant libc functions in each page.


# 1.21 26-Mar-2010 jmc

dispense with some wacky escape sequences;


Revision tags: OPENBSD_4_7_BASE
# 1.20 16-Aug-2009 sobrado

replace ".Ar file ..." with ".Ar" whenever possible.

ok jmc@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.19 08-Feb-2009 jmc

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;


Revision tags: OPENBSD_4_4_BASE
# 1.18 29-Jul-2008 sobrado

md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;
while here, some KNF improvements.

based on a diff for compress(1) written by millert@,
fixes from guenther@ and pyr@.

ok millert@, pyr@; (for the manual page tweaks) jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.17 31-May-2007 jmc

convert to new .Dd format;


# 1.16 30-May-2007 jmc

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX


# 1.15 13-Apr-2007 tedu

allow multiple -t to increase the test count. cpus are getting too fast.
ok grunk. with manpage from grunk and jmc


# 1.14 27-Mar-2007 millert

Add base64 support to cksum and friends. Output encoding can
be set globally or on a per-algorithm basis when using multiple
hash functions. OK espie@ simon@ deraadt@; man help from jmc@


# 1.13 20-Mar-2007 thib

augment the -q option, now if specifed with -c (checklist)
it will only print out the failed cases.

OK millert@


Revision tags: OPENBSD_4_1_BASE
# 1.12 27-Feb-2007 millert

Add md5 to the list of unsecure checksums. Adapted from a diff by
Tamas TEVESZ.


# 1.11 19-Nov-2006 jmc

WARNING/BUGS -> CAVEATS; ok millert


# 1.10 17-Nov-2006 jmc

`<' -> \*(Lt


# 1.9 17-Nov-2006 jmc

discourage .Tn;


# 1.8 17-Nov-2006 jmc

.Ex these pages; ok millert


# 1.7 17-Nov-2006 jmc

simplify synopsis and usage(); ok millert


# 1.6 16-Nov-2006 millert

Add -r and -q options similar to what is supported by FreeBSD's md5
OK deraadt@ ckuethe@


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 07-Mar-2005 jmc

more macro simplification;


# 1.4 25-Feb-2005 jmc

avoid specifying which hash to use;
this after some discussion w/ otto;

started by pr #4120, from andy isaacson;


# 1.3 29-Dec-2004 millert

Add support for multiple using algorithms. OK'd by several people
a while ago so get this out of my tree...


Revision tags: OPENBSD_3_6_BASE
# 1.2 04-May-2004 jmc

- simplify synopses
- correct macros
- various grammatical fixes

ok millert@


# 1.1 02-May-2004 millert

Add support for cksum (3 varieties), md4, sha256, sha384, and sha512.
Consequently, cksum moves becomes a link to md5 and moves to /bin.
The cksum man page could use some polishing.