1GOSTSUM(1) Debian GNU/Linux GOSTSUM(1)
2
3
4
6 gostsum - generates or checks GOST R34.11-94 message digests
7
8
10 gostsum [-bvt] [-c [file]] | [file...]
11
12
14 gostsum generates or checks GOST hash sums. The algorithm to generate
15 the is reasonably fast and strong enough for most cases. Exact specifi‐
16 cation of the algorithm is in GOST R34.11-94.
17
18 Normally gostsum generates checksums of all files given to it as a
19 parameter and prints the checksums followed by the filenames. If, how‐
20 ever, -c is specified, only one filename parameter is allowed. This
21 file should contain checksums and filenames to which these checksums
22 refer to, and the files listed in that file are checked against the
23 checksums listed there. See option -c for more information.
24
25
26 OPTIONS
27 -b Use binary mode. In unix environment, only difference between
28 this and the normal mode is an asterisk preceding the filename
29 in the output.
30
31 -c Check gost hashes of all files listed in file against the check‐
32 sum listed in the same file. The actual format of that file is
33 the same as output of md5sum. That is, each line in the file
34 describes a file. A line looks like:
35
36 <hashsum> <filename>
37
38 So, for example, if a file was created and its message digest
39 calculated like so:
40
41 echo foo > hash-test-file; gostsum hash-test-file
42
43 gostsum would report:
44
45 1541e09d0aa5971f732991ae1bdfb63f2609edd7536b40f8c2ae7c1e2f99e072
46 hash-test-file
47
48
49 -v Be more verbose. Print filenames when checking (with -c).
50
51
52 -t Use test parameter set. gostsum supports two sets of parameters
53 (which are really parameters of GOST 28147-89 block cipher)
54 specified in the IETF draft draft-popov-cryptopro-cpalgs-02.txt
55 By default, cryptopro paramset is used. This option enables use
56 of test paramset as specified in appendices to the GOST.
57
58
60 The output of gost12sum has a reversed byte order compared to output of
61 openssl dgst command because of the Russian GOST requrements.
62
63
65 This manpage is not quite accurate and has formatting inconsistent with
66 other manpages.
67
68 gostsum does not accept standard options like --help.
69
70
72 Victor Wagner <vitus@wagner.pp.ru>
73
74
75
76
77Openssl 02 Aug 2017 GOSTSUM(1)