From: Sergey Matveev Date: Sun, 21 May 2023 07:31:41 +0000 (+0300) Subject: nettle-hash's Streebog is faster X-Git-Tag: v0.1.0~2 X-Git-Url: http://www.git.stargrave.org/?p=meta4ra.git;a=commitdiff_plain;h=8f03605cd965568241c7475b3d662adb025c6cf5 nettle-hash's Streebog is faster --- diff --git a/contrib/streebog256sum b/contrib/streebog256sum index 9a4c9be..d5c4dc6 100755 --- a/contrib/streebog256sum +++ b/contrib/streebog256sum @@ -1,3 +1,3 @@ #!/bin/sh -exec rhash --printf "%{gost12-256}\n" - +nettle-hash --algorithm=streebog256 --raw | hexdump -v -e '/1 "%02x"' diff --git a/contrib/streebog512sum b/contrib/streebog512sum index 51c25b0..c3fd7a4 100755 --- a/contrib/streebog512sum +++ b/contrib/streebog512sum @@ -1,3 +1,3 @@ #!/bin/sh -exec rhash --printf "%{gost12-512}\n" - +nettle-hash --algorithm=streebog512 --raw | hexdump -v -e '/1 "%02x"'