gost3411-2012(1)

GOST3411-2012(1) User Commands GOST3411-2012(1)

NAME

gost3411-2012 - Portable implementation of GOST R 34.11-2012 hash function

SYNOPSIS

gost3411-2012 [-25bhvqrte] [-s string] [files ...]

DESCRIPTION

The program outputs GOST R 34.11-2012 hash digest in hexadecimal format. Each file listed on the command line is processed and hash is printed for each one. Stdin is read as input when executed without arguments.

OPTIONS

-2
Output 256-bit digest.
-5
Output 512-bit digest (default).
-t
Testing mode to produce hash of example messages defined in standard.
-b
Benchmark mode (to see how fast or slow this implementation).
-s string
Print a digest of the given string.
-r
Reverses the format of the output. This helps with visual diffs.
-q
Quiet mode - only the digest is printed out.
-e
Switch endianness when printing out resulting hash. Default: least significant first. With this options set all bytes in resulting hash are printed in reverse order, more precisely, most significant first.
-v
Print version info and exit.
-h
Print this help and exit.

PLATFORMS TESTED

o FreeBSD x86/x86_64

o Linux x86/x86_64

o Darwin x86/x86_64

o Linux powerpc

PERFORMANCE

To measure performance of this implementation SUPERCOP toolkit has been used.


Intel(R) Pentium(R) CPU G6950 @ 2.80GHz x86: 40 CPB ( 70 MB/s)
Intel(R) Pentium(R) CPU G6950 @ 2.80GHz x86_64: 36 CPB ( 78 MB/s)
Intel(R) Xeon(R) CPU X5650 @ 2.67GHz x86_64: 31 CPB ( 84 MB/s)
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz x86_64: 28 CPB (121 MB/s)

CPB stands for Cycles Per Byte. And MB/s is megabytes per second.

AVAILABILITY

The latest version of this distribution is available on-line from:


https://www.streebog.net

AUTHOR

Written by Alexey Degtyarev.

REPORTING BUGS

Report bugs to <alexey@renatasystems.org>

SEE ALSO

dgst(1)

January 2021 GOST R 34.11-2012