]> Sergey Matveev's repositories - meta4ra.git/blobdiff - contrib/streebog256sum
nettle-hash's Streebog is faster
[meta4ra.git] / contrib / streebog256sum
index 9a4c9be273ab5660363237db5ce2cf0b04c0094f..d5c4dc623bdd10557dacaea385dd5023f20e14ff 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec rhash --printf "%{gost12-256}\n" -
+nettle-hash --algorithm=streebog256 --raw | hexdump -v -e '/1 "%02x"'