Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 79 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
76 magnus 1
.\"                                      Hey, EMACS: -*- nroff -*-
2
.\" First parameter, NAME, should be all caps
3
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4
.\" other parameters are allowed: see man(7), man(1)
5
.TH SEXP\-CONV 1 "July 2011" "nettle 2.2"  "Nettle tools"
6
.\" Please adjust this date whenever revising the manpage.
7
.SH NAME
8
nettle\-hash \- compute message digests
9
.SH SYNOPSIS
10
.B nettle-hash -a
11
.I ALGORITHM
12
.RI [ OPTIONS ]
13
.RI [ FILE ]...
14
.SH DESCRIPTION
15
This manual page documents briefly the
16
.B nettle\-hash
17
command.
18
This manual page was written for the Debian GNU/Linux distribution
19
because the original program does not have a manual page.
20
Instead, it has documentation in the GNU Info format; see below.
21
.PP
22
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
23
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
24
.\" respectively.
25
\fBnettle\-hash\fP is a program that computes various message digests.
26
The output is different from the familiar md5sum and sha*sum
27
family. For each file, the file name and a colon is printed first,
28
unless input is read from standard input, in which case nothing is
29
printed. Then the hash is printed in chunks of 64 bits (16 hexadecimal
30
digits) followed by the name of the algorith. In raw (binary) mode,
31
the hash is not split in chunks and is not followed by a newline.
32
 
33
.SH OPTIONS
34
This program follows the usual GNU command line syntax, with long
35
options starting with two dashes (`-').  A summary of options is
36
included below.  For a complete description, see the Info files.
37
.TP
38
.B \-a, \-\-algorithm=\fIalgorithm\fP
39
Compute hash using \fIalgorithm\fP.
40
.TP
41
.B \-l, \-\-length=\fIlength\fP
42
Truncate digests at \fIlength\fP octets. It is an error to specify a
43
\fIlength\fP greater than the normal length of the selected digest.
44
.TP
45
.B \-\-list
46
List supported hash algorithms.
47
.TP
48
.B \-\-help
49
Show summary of options.
50
.TP
51
.B \-V, \-\-version
52
Show version of program.
53
.SH SEE ALSO
54
.BR md5sum (1),
55
.BR sha1sum (1),
56
etc.
57
.SH AUTHOR
58
This manual page was originally written by Magnus Holmgren <holmgren@debian.org>,
59
for the Debian GNU/Linux system (but may be used by others).