ObjFW  Check-in [c718a212f2]

Overview
Comment:Add manpage for ofhash
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c718a212f205dced170040f5938f3eb528192192e2f429e0d82175481fbfc8dd
User & Date: js on 2024-09-01 14:07:26
Other Links: manifest | tags
Context
2024-09-01
14:22
Add manpage for ofhttp check-in: 79c24effeb user: js tags: trunk
14:07
Add manpage for ofhash check-in: c718a212f2 user: js tags: trunk
13:59
Add manpage for ofdns check-in: 37a33a1a7f user: js tags: trunk
Changes

Modified utils/ofhash/Makefile from [bdadc4d20f] to [0495fa7239].

1
2
3
4
5
6

7
8
9
10
11
12
13
include ../../extra.mk

PROG = ofhash${PROG_SUFFIX}
SRCS = OFHash.m
DATA = localization/de.json		\
       localization/localizations.json


include ../../buildsys.mk

PACKAGE_NAME = ofhash

${PROG}: ${LIBOBJFW_DEP_LVL2} ${LIBOBJFWRT_DEP_LVL2}







>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
include ../../extra.mk

PROG = ofhash${PROG_SUFFIX}
SRCS = OFHash.m
DATA = localization/de.json		\
       localization/localizations.json
MAN = ofhash.1

include ../../buildsys.mk

PACKAGE_NAME = ofhash

${PROG}: ${LIBOBJFW_DEP_LVL2} ${LIBOBJFWRT_DEP_LVL2}

Added utils/ofhash/ofhash.1 version [4f761eeb63].































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.\"
.\" Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im>
.\"
.\" All rights reserved.
.\"
.\" This program is free software: you can redistribute it and/or modify it
.\" under the terms of the GNU Lesser General Public License version 3.0 only,
.\" as published by the Free Software Foundation.
.\"
.\" This program is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
.\" version 3.0 for more details.
.\"
.\" You should have received a copy of the GNU Lesser General Public License
.\" version 3.0 along with this program. If not, see
.\" <https://www.gnu.org/licenses/>.
.\"
.TH ofhash 1
.SH NAME
ofhash - hash files
.SH SYNOPSIS
.B ofhash
[\fB--md5\fR] [\fB--ripemd160\fR] [\fB--sha1\fR] [\fB--sha224\fR]
[\fB--sha256\fR] [\fB--sha384\fR] [\fB--sha512\fR] [\fB--iri\fR]
\fIfile1\fR [\fIfile2\fR ...]
.SH DESCRIPTION
.B ofhash
is a program to calculate the cryptographic hashes of files.
.SH OPTIONS
.TP
.BR \fB\-\-md5\fR
Calculate MD5 hashes.
.TP
.BR \fB\-\-ripemd160\fR
Calculate RIPEMD-160 hashes.
.TP
.BR \fB\-\-sha1\fR
Calculate SHA-1 hashes.
.TP
.BR \fB\-\-sha224\fR
Calculate SHA-224 hashes.
.TP
.BR \fB\-\-sha256\fR
Calculate SHA-256 hashes.
.TP
.BR \fB\-\-sha384\fR
Calculate SHA-384 hashes.
.TP
.BR \fB\-\-sha512\fR
Calculate SHA-512 hashes.
.TP
.BR \fB\-\-iri\fR
Treat the specified files as IRIs instead.
.SH EXAMPLES
Calculate the \fBSHA-256\fR and \fBSHA-512\fR hash of \fBfile1\fR and
\fBfile2\fR:
.PP
	ofhash --sha256 --sha512 file1 file2
.PP
Calculate the \fBSHA-256\fR hash of \fBhttps://example.com/\fR:
.PP
	ofhash --sha256 --iri https://example.com/