From 976639a8b7715af5c74d66d0fb66477ff1470b89 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 13 Feb 2024 13:33:19 +0300 Subject: [PATCH] xxd is simpler to use --- contrib/streebog256sum | 3 +-- contrib/streebog512sum | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/contrib/streebog256sum b/contrib/streebog256sum index 45fc856..1e67e33 100755 --- a/contrib/streebog256sum +++ b/contrib/streebog256sum @@ -1,4 +1,3 @@ #!/bin/sh -nettle-hash --algorithm=streebog256 --raw | hexdump -v -e '/1 "%02x"' -echo +nettle-hash --algorithm=streebog256 --raw | xxd -c 0 -p diff --git a/contrib/streebog512sum b/contrib/streebog512sum index ae7c0ff..a7ab24d 100755 --- a/contrib/streebog512sum +++ b/contrib/streebog512sum @@ -1,4 +1,3 @@ #!/bin/sh -nettle-hash --algorithm=streebog512 --raw | hexdump -v -e '/1 "%02x"' -echo +nettle-hash --algorithm=streebog512 --raw | xxd -c 0 -p -- 2.44.0