From 8f03605cd965568241c7475b3d662adb025c6cf5 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 21 May 2023 10:31:41 +0300 Subject: [PATCH] nettle-hash's Streebog is faster --- contrib/streebog256sum | 2 +- contrib/streebog512sum | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"' -- 2.44.0