-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReadMe.en.txt
81 lines (54 loc) · 2.31 KB
/
ReadMe.en.txt
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
======================================================================
sha256 - calculate SHA-256 message digest
(by Dirk Stolle)
======================================================================
Purpose of the program:
=======================
The sha256 program calculates and prints SHA-256 (256bit) checksums of
all files that are passed to it as command line parameters.
It can also be used to calculate SHA-1 (160bit), SHA-224 (224bit),
SHA-384 (384bit) or SHA-512 (512bit) checksums, if desired.
Program call:
=============
Since this (obviously) is a command line program, you can call it via
command line/ shell. A list of valid options follows below.
Synopsis:
---------
sha256 [--sha1 | --sha224 | --sha256 | --sha384 | --sha512] FILENAME ...
Options + parameters:
---------------------
--sha1
Calculate SHA-1 (160bit) checksums instead of SHA-256.
--sha224
Calculate SHA-224 (224bit) checksums instead of SHA-256.
--sha256
Calculate SHA-256 (256bit) checksums. This is the default.
--sha384
Calculate SHA-384 (384bit) checksums instead of SHA-256.
--sha512
Calculate SHA-512 (512bit) checksums instead of SHA-256.
--help
Show a help message and list valid program options.
--version
Print version information and quit.
FILENAME
path to a file that should be hashed. Can be repeated
multiple times.
A typical call could look like:
sha256 foo.txt some_dir/bar.baz
This would calculate the SHA-256 message digests of foo.txt and
bar.baz in the subdirectory some_dir. If one of the given files does
not exist, the program quits.
License, disclaimer and source code
===================================
The program sha256 is released under the GNU General Public License
version 3, a free software license. For the full text of the license
consult the file LICENSE or view it online at
http://www.gnu.org/licenses/gpl-3.0.html
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN-
TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
The program's source code is published at GitLab.com, the
project itself is located at
<https://gitlab.com/striezel/secure-hash-algorithm>