GOSTSUM(1) | Debian GNU/Linux | GOSTSUM(1) |
gostsum - generates or checks GOST R34.11-94 message digests
gostsum [-bvt] [-c [file]] | [file...]
gostsum generates or checks GOST hash sums. The algorithm to generate the is reasonably fast and strong enough for most cases. Exact specification of the algorithm is in GOST R34.11-94.
Normally gostsum generates checksums of all files given to it as a parameter and prints the checksums followed by the filenames. If, however, -c is specified, only one filename parameter is allowed. This file should contain checksums and filenames to which these checksums refer to, and the files listed in that file are checked against the checksums listed there. See option -c for more information.
<hashsum> <filename>
So, for example, if a file was created and its message digest calculated like so:
echo foo > hash-test-file; gostsum hash-test-file
gostsum would report:
1541e09d0aa5971f732991ae1bdfb63f2609edd7536b40f8c2ae7c1e2f99e072 hash-test-file
The output of gost12sum has a reversed byte order compared to output of openssl dgst command because of the Russian GOST requrements.
This manpage is not quite accurate and has formatting inconsistent with other manpages.
gostsum does not accept standard options like --help.
Victor Wagner <vitus@wagner.pp.ru>
02 Aug 2017 | Openssl |