Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/usr.bin/cksum Pull up revision 1.44 (requested by dhollan...



details:   https://anonhg.NetBSD.org/src/rev/f9af5f134157
branches:  netbsd-6
changeset: 774280:f9af5f134157
user:      jdc <jdc%NetBSD.org@localhost>
date:      Mon Jul 02 21:17:18 2012 +0000

description:
Pull up revision 1.44 (requested by dholland in ticket #374).

Omit outdated cryptographic claims as noted in PR 44160.

Interested readers can follow the references or read Wikipedia; this
is the wrong place to explain cryptographic hash functions and give
security advice.

diffstat:

 usr.bin/cksum/cksum.1 |  40 ++++++++--------------------------------
 1 files changed, 8 insertions(+), 32 deletions(-)

diffs (63 lines):

diff -r 4187d5884c1f -r f9af5f134157 usr.bin/cksum/cksum.1
--- a/usr.bin/cksum/cksum.1     Mon Jul 02 21:11:50 2012 +0000
+++ b/usr.bin/cksum/cksum.1     Mon Jul 02 21:17:18 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: cksum.1,v 1.43 2010/05/14 01:57:21 joerg Exp $
+.\"    $NetBSD: cksum.1,v 1.43.8.1 2012/07/02 21:17:18 jdc Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"    @(#)cksum.1     8.2 (Berkeley) 4/28/95
 .\"
-.Dd January 2, 2009
+.Dd June 24, 2012
 .Dt CKSUM 1
 .Os
 .Sh NAME
@@ -95,38 +95,14 @@
 It is provided for compatibility only.
 .Pp
 The
-.Nm md5
-utility takes as input a message of arbitrary length and produces
-as output a 128-bit
-.Dq fingerprint
-or
-.Dq message digest
-of the input.
-It is conjectured that it is computationally infeasible
-to product two messages having the same message digest, or to produce
-any message having a given prespecified target message digest.
-The
-MD5 algorithm is intended for digital signature applications, where
-a large file must be
-.Dq compressed
-in a secure manner before being encrypted with a private (secret)
-key under a public-key encryption system such as
-.Pa RSA .
-.Pp
-The
-.Nm md2
+.Nm md2 ,
+.Nm md4 ,
+.Nm md5 ,
+.Nm sha1 ,
 and
-.Nm md4
-utilities behave in exactly the same manner as
-.Nm md5
-but use different algorithms.
-.Pp
-The
 .Nm rmd160
-and
-.Nm sha1
-utilities also produce message digests, however the output from these
-two programs is 160 bits in length, as opposed to 128.
+utilities compute cryptographic hash functions, and write to standard
+output the hexadecimal representation of the hash of their input.
 .Pp
 The options are as follows:
 .Bl -tag -width indent



Home | Main Index | Thread Index | Old Index