From e74021bee14cdc6a5aa22ddc2068c2f72dfe277f Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 7 Dec 2021 14:34:14 +0100 Subject: added print of verification key hash --- cmd/tmp/keygen/main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd') diff --git a/cmd/tmp/keygen/main.go b/cmd/tmp/keygen/main.go index c1c1b58..c5f60fd 100644 --- a/cmd/tmp/keygen/main.go +++ b/cmd/tmp/keygen/main.go @@ -5,6 +5,8 @@ import ( "crypto/rand" "fmt" "log" + + "git.sigsum.org/sigsum-log-go/pkg/types" ) func main() { @@ -14,4 +16,5 @@ func main() { } fmt.Printf("sk: %x\n", sk[:]) fmt.Printf("vk: %x\n", vk[:]) + fmt.Printf("kh: %x\n", types.Hash(vk[:])[:]) } -- cgit v1.2.3