summaryrefslogtreecommitdiffstats
path: root/sbin/md5
Commit message (Collapse)AuthorAgeFilesLines
* Fix an 11 year old mistake: Let the hash functions take a void* insteadphk2006-01-171-1/+1
| | | | of unsigned char* argument.
* Belatedly update the md5(1) man page to reflect the addition of sha256.cperciva2005-03-101-6/+11
|
* In light of the recent 2^69 operation collision-finding attack on SHA1,cperciva2005-03-092-4/+24
| | | | | | | | add support for SHA256. Tested on: i386, sparc64 Tested using: NIST test vectors, built-in tests X-MFC-after: 5.4-RELEASE
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* mdoc(7) fixes.ru2004-07-071-1/+1
|
* fix handling of an unknown progeam nameeik2004-06-221-1/+1
| | | | | Noticed by: Joshua Goodall <joshua@roughtrade.net> Approved by: ru
* Add sha1 and rmd160 checksum tools.eik2004-06-113-67/+206
| | | | | | | | Since the algorithms are already supported in libmd, the size increase is small when a dynamic root is used. Approved by: joerg, ru MFC after: 2 weeks
* Assorted markup, grammar, and spelling fixes.ru2004-05-171-1/+2
|
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-051-2/+2
|
* Set exit code to 1 in case at least one of the input filesse2003-11-022-2/+13
| | | | could not be opened.
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-4/+2
|
* Improvements to md5.c so that it uses getrusage to timesilby2003-02-141-8/+12
| | | | benchmarks, and prints out results in float format.
* Change the -x option so that it does an actual REAL test ofsilby2003-01-261-11/+35
| | | | | | the correctness of this program. Previously, it printed out the MD5 values of some test strings, but did not tell you if they were correct or not!
* Use `The .Nm utility'charnier2002-04-191-2/+3
|
* Fixphk2001-12-191-1/+3
| | | | | | | md5 -q -s foo to not expect input on stdin after hashing the string. MFC after: 1 week
* Default to WARNS=2.obrien2001-12-041-2/+0
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Add missing cast for improper time_t use in computation.dillon2001-10-281-1/+1
|
* mdoc(7) police: removed hard sentence breaks.ru2001-09-041-6/+14
|
* Mention collision attacks on MD5. From the md5(3) man page.murray2001-09-041-0/+6
| | | | | | PR: docs/14158 Reviewed by: kris Submitted by: Eric Frias <efrias@sg505.net>
* mdoc(7) police:ru2001-08-071-1/+1
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* Fix include ordering breakage from rev. 1.23.des2001-06-291-2/+2
| | | | Please-read-style(9): dd
* Only checksum stdin if nothing has been checksummed yet.ru2001-06-251-2/+2
| | | | PR: bin/28386
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* WARNS= -> WARNS?=dd2001-06-221-1/+1
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* This command has more than four options.dd2001-06-191-1/+1
|
* Fix argument processing.ru2001-05-223-91/+47
| | | | | | | Make this compile with WARNS=2. PR: bin/27524 MFC after: 3 days
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+0
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+2
|
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.ru2001-02-131-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Update usage().obrien2000-11-081-1/+1
| | | | Submitted by: nectar
* Add -q quite mode.obrien1999-12-042-4/+16
|
* Make `-r -s' also match the BSDI output.obrien1999-11-112-2/+2
|
* Change the "-r" output format to match BSDI's default output format.obrien1999-11-091-2/+2
|
* Add a new "-r" (right) option that reverses the order a filename and theobrien1999-11-072-4/+22
| | | | hash is printed. This aids visual diffs.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Since we are using strlen() let's assign it to the correct type andbillf1999-07-211-2/+3
| | | | include the proper header.
* Fixes for -t option:kris1999-05-011-3/+4
| | | | | | | | | | * Don't buffer "Digesting..." output - flush it immediately. * Increase the number of repetitions by a factor of 100, and the block size by a factor of 10 so as to give meaningful results on modern machines (108 seconds on my P120, and ~26 seconds on a P-II 350). PR: bin/10604 Submitted by: Stanislav Shalunov <shalunov@lynxhub.lz.att.com>
* Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3).charnier1998-07-062-20/+18
|
* Fix a few style nits from previous commit.steve1997-12-291-11/+10
| | | | Submitted by: Bruce Evans <bde@zeta.org.au>
* Get md5(1) to use getopt(3). Also some minor -Wall cleaningsteve1997-12-292-33/+50
| | | | | | | while here. PR: 5387 Submitted by: Matthew Hunt <mph@pobox.com>
* Fix bad assumptions about types.phk1997-09-181-0/+10
| | | | | | PR: 1649 Reviewed by: phk Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>
* fix a few spelling changesjmg1997-08-301-1/+1
| | | | | | | | Submitted by: Josh Gilliam Closes PR's: 4429, 4431-4438 PS: He has agreed to submit all contrib fixes back to the original author.
* mdoc'ify man pagejmg1997-03-021-35/+49
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* /usr/lib/libmd.a -> ${LIBMD}wosch1997-02-081-1/+1
|
* Trivial fix for braino.phk1997-01-161-1/+1
| | | | | Reviewed by: phk Submitted by: Martin Ibert <mib@ppe.bb-data.de>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Moved #include of <sys/types.h> earlier so that this compiles whenbde1996-10-251-3/+6
| | | | | | <stdio.h> doesn't (bogusly) include <sys/types.h>. Cleaned up #includes.
OpenPOWER on IntegriCloud