aboutsummaryrefslogtreecommitdiff
path: root/sbin/md5/md5.1
Commit message (Collapse)AuthorAgeFilesLines
* md5(1): Add EXAMPLES sectionFernando Apesteguía2020-06-191-1/+43
| | | | | | | | | | Add EXAMLES covering -c, -s and -r Approved by: bcr@, 0mp@ Differential Revision: https://reviews.freebsd.org/D25278 Notes: svn path=/head/; revision=362365
* md5(1): fix style in man pageFernando Apesteguía2020-06-151-29/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bunch of style problems reported by mandoc(1) and igor: mandoc: ./md5.1:19:71: STYLE: no blank before trailing delimiter: Nm ... rmd160, mandoc: ./md5.1:20:23: STYLE: no blank before trailing delimiter: Nm ... skein512, mandoc: ./md5.1:33:2: STYLE: useless macro: Tn mandoc: ./md5.1:33:2: STYLE: useless macro: Tn mandoc: ./md5.1:33:2: STYLE: useless macro: Tn mandoc: ./md5.1:33:2: STYLE: useless macro: Tn mandoc: ./md5.1:35:2: STYLE: useless macro: Tn mandoc: ./md5.1:42:2: STYLE: useless macro: Tn mandoc: ./md5.1:45:2: STYLE: useless macro: Tn mandoc: ./md5.1:47:2: STYLE: useless macro: Tn mandoc: ./md5.1:56:2: STYLE: useless macro: Tn mandoc: ./md5.1:58:2: STYLE: useless macro: Tn mandoc: ./md5.1:61:2: STYLE: useless macro: Tn mandoc: ./md5.1:66:2: STYLE: useless macro: Tn mandoc: ./md5.1:68:2: STYLE: useless macro: Tn mandoc: ./md5.1:104:24: STYLE: no blank before trailing delimiter: Nm skein512, mandoc: ./md5.1:117:6: STYLE: referenced manual not found: Xr sha224 3 igor: md5.1:46:no comma after "i.e.":either algorithm, [i.e.] to find an input that produces a specific Approved by: bcr@ Differential Revision: https://reviews.freebsd.org/D25277 Notes: svn path=/head/; revision=362191
* Integrate SHA2-224 with userspace componentsConrad Meyer2018-07-091-54/+12
| | | | | | | | | | | | | The double compilation of the kernel sources in libmd and libcrypt is baffling, but add yet another define hack to prevent duplicate symbols. Add documentation and SHA2-224 test cases to libmd. Integrate with the md5(1) command, document, and add more test cases; self-tests pass. Notes: svn path=/head/; revision=336126
* Fix date.Dag-Erling Smørgrav2017-03-021-1/+1
| | | | | | | | Reported by: delphij, mckay MFC with: r314528 Notes: svn path=/head/; revision=314554
* Update to reflect that SHA-1 has now been broken.Dag-Erling Smørgrav2017-03-021-14/+12
| | | | | | | | Submitted by: ak MFC after: 1 week Notes: svn path=/head/; revision=314528
* Add skein(3) front ends to the md5 manpageAllan Jude2017-01-071-9/+28
| | | | | | | Reported by: emaste Notes: svn path=/head/; revision=311656
* Implement SHA-512 truncated (224 and 256 bits)Allan Jude2016-05-281-5/+19
| | | | | | | | | | | | | | | | | | | | | | This implements SHA-512/256, which generates a 256 bit hash by calculating the SHA-512 then truncating the result. A different initial value is used, making the result different from the first 256 bits of the SHA-512 of the same input. SHA-512 is ~50% faster than SHA-256 on 64bit platforms, so the result is a faster 256 bit hash. The main goal of this implementation is to enable support for this faster hashing algorithm in ZFS. The feature was introduced into ZFS in r289422, but is disconnected because SHA-512/256 support was missing. A further commit will enable it in ZFS. This is the follow on to r292782 Reviewed by: cem Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D6061 Notes: svn path=/head/; revision=300903
* Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.cAllan Jude2015-12-271-4/+10
| | | | | | | | | | | | | | | | | | | | | cperciva's libmd implementation is 5-30% faster The same was done for SHA256 previously in r263218 cperciva's implementation was lacking SHA-384 which I implemented, validated against OpenSSL and the NIST documentation Extend sbin/md5 to create sha384(1) Chase dependancies on sys/crypto/sha2/sha2.{c,h} and replace them with sha512{c.c,.h} Reviewed by: cperciva, des, delphij Approved by: secteam, bapt (mentor) MFC after: 2 weeks Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3929 Notes: svn path=/head/; revision=292782
* use .Mt to mark up email addresses consistently (part1)Baptiste Daroussin2014-06-201-1/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267667
* Assorted updates to md5.1Benjamin Kaduk2014-05-181-7/+9
| | | | | | | | | | | | | | | | | | Note that the -c argument's parameter is compared against the digest of the file, not the file. [1] Update the "current time" parentheticals for notes about reversing and colliding the hash functions. [1] Some general mdoc updates. PR: docs/188043 [1] Submitted by: Jamie Landeg-Jones [1] Approved by: hrs (mentor) MFC after: 1 week Notes: svn path=/head/; revision=266417
* Teach md5(1) about sha512.Xin LI2012-08-011-6/+12
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=238964
* General mdoc(7) and typo fixes.Glen Barber2012-05-101-1/+1
| | | | | | | | | PR: 167696 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days Notes: svn path=/head/; revision=235211
* - new sentence should start on new line.Eitan Adler2011-11-131-2/+2
| | | | | | | | | PR: bin/146541 Submitted by: bjk Approved by: bjk Notes: svn path=/head/; revision=227491
* - add "check" option to MD5 and friends to compare files against known hash.Eitan Adler2011-11-131-1/+9
| | | | | | | | | | | | PR: bin/146541 Submitted by: eadler Reviewed by: jhell@dataix.net Approved by: secteam (cperciva) Approved by: cperciva MFC after: 3 weeks Notes: svn path=/head/; revision=227488
* Minor markup fix for the r186836 update.Simon L. B. Nielsen2009-01-061-1/+2
| | | | Notes: svn path=/head/; revision=186839
* Strengthen some of the language concerning attacks on MD5, in light of theColin Percival2009-01-061-8/+16
| | | | | | | | | | | recent demonstration of a forged SSL certificate. Add text pointing out that SHA-1 is at least theoretically broken. Add a recommendation that new applications use SHA-256. MFC after: 1 month Notes: svn path=/head/; revision=186836
* Bring a paragraph in this manual page a bit closer to the present date.Tom Rhodes2008-09-071-2/+2
| | | | | | | Discussed with: des Notes: svn path=/head/; revision=182847
* Belatedly update the md5(1) man page to reflect the addition of sha256.Colin Percival2005-03-101-6/+11
| | | | Notes: svn path=/head/; revision=143352
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* mdoc(7) fixes.Ruslan Ermilov2004-07-071-1/+1
| | | | Notes: svn path=/head/; revision=131754
* Add sha1 and rmd160 checksum tools.Oliver Eikemeier2004-06-111-19/+62
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=130351
* Assorted markup, grammar, and spelling fixes.Ruslan Ermilov2004-05-171-1/+2
| | | | Notes: svn path=/head/; revision=129327
* Set exit code to 1 in case at least one of the input filesStefan Eßer2003-11-021-0/+4
| | | | | | | could not be opened. Notes: svn path=/head/; revision=121914
* Use `The .Nm utility'Philippe Charnier2002-04-191-2/+3
| | | | Notes: svn path=/head/; revision=95077
* mdoc(7) police: removed hard sentence breaks.Ruslan Ermilov2001-09-041-6/+14
| | | | Notes: svn path=/head/; revision=82946
* Mention collision attacks on MD5. From the md5(3) man page.Murray Stokely2001-09-041-0/+6
| | | | | | | | | PR: docs/14158 Reviewed by: kris Submitted by: Eric Frias <efrias@sg505.net> Notes: svn path=/head/; revision=82912
* mdoc(7) police:Ruslan Ermilov2001-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. Notes: svn path=/head/; revision=81251
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79754
* This command has more than four options.Dima Dorfman2001-06-191-1/+1
| | | | Notes: svn path=/head/; revision=78454
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.Ruslan Ermilov2001-02-131-1/+1
| | | | Notes: svn path=/head/; revision=72432
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68960
* Add -q quite mode.David E. O'Brien1999-12-041-1/+5
| | | | Notes: svn path=/head/; revision=54109
* Make `-r -s' also match the BSDI output.David E. O'Brien1999-11-111-1/+1
| | | | Notes: svn path=/head/; revision=53092
* Add a new "-r" (right) option that reverses the order a filename and theDavid E. O'Brien1999-11-071-1/+7
| | | | | | | hash is printed. This aids visual diffs. Notes: svn path=/head/; revision=52949
* Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3).Philippe Charnier1998-07-061-8/+8
| | | | Notes: svn path=/head/; revision=37421
* Get md5(1) to use getopt(3). Also some minor -Wall cleaningSteve Price1997-12-291-15/+9
| | | | | | | | | | while here. PR: 5387 Submitted by: Matthew Hunt <mph@pobox.com> Notes: svn path=/head/; revision=32074
* fix a few spelling changesJohn-Mark Gurney1997-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. Notes: svn path=/head/; revision=28935
* mdoc'ify man pageJohn-Mark Gurney1997-03-021-35/+49
| | | | Notes: svn path=/head/; revision=23301
* Add a '-p' option to md5. This will save some time in generation of thePoul-Henning Kamp1995-02-261-1/+4
| | | | | | | ctm deltas. Notes: svn path=/head/; revision=6725
* Changed a sum(1) to a cksum(1).Andreas Schulz1994-12-111-1/+1
| | | | Notes: svn path=/head/; revision=5054
* Incorproate version of md5 placed into public domain by RSA.Paul Traina1994-10-291-0/+43
Notes: svn path=/cvs2svn/branches/PD/; revision=3995