aboutsummaryrefslogtreecommitdiff
path: root/cmd/tmp
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/tmp')
-rw-r--r--cmd/tmp/keygen/main.go3
1 files changed, 3 insertions, 0 deletions
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[:])[:])
}