1GOST12SUM(1) Debian GNU/Linux GOST12SUM(1)
2
3
4
6 gost12sum - generates or checks GOST R34.11-2012 message digests
7
8
10 gost12sum [-bvl] [-c [file]] | [file...]
11
12
14 gost12sum 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-2012.
17
18 Normally gost12sum 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; gost12sum hash-test-file
42
43 gost12sum would report:
44
45 3d4a51ee7713e6467442facefe06f153a303e7bdefbe7f9bdf2edb4ae9c866ff
46 hash-test-file
47
48 When invoked with -c option gost12sum normally works silently
49 unless error found. Use -v if you want to see list of success‐
50 fully checked files
51
52
53 -v Be more verbose. Print filenames when checking (with -c).
54
55
56 -l Use long (512-bit) hash instead of short (256-bit).
57
58
60 This manpage is not quite accurate and has formatting inconsistent with
61 other manpages.
62
63 gost12sum does not accept standard options like --help.
64
65
67 gost12sum utility written by Cryptocom LTD
68
69 This manual page is written by Victor Wagner <vitus@wagner.pp.ru> for
70 Debian GNU/Linux
71
72
73
74
75Openssl 02 Aug 2016 GOST12SUM(1)