From: Sergey Matveev Date: Tue, 13 Feb 2024 10:33:19 +0000 (+0300) Subject: xxd is simpler to use X-Git-Tag: v0.5.0~3 X-Git-Url: http://www.git.stargrave.org/?p=meta4ra.git;a=commitdiff_plain;h=976639a8b7715af5c74d66d0fb66477ff1470b89 xxd is simpler to use --- 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