diff options
Diffstat (limited to 'cmd/tmp/keygen/main.go')
-rw-r--r-- | cmd/tmp/keygen/main.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cmd/tmp/keygen/main.go b/cmd/tmp/keygen/main.go deleted file mode 100644 index b692f7f..0000000 --- a/cmd/tmp/keygen/main.go +++ /dev/null @@ -1,20 +0,0 @@ -package main - -import ( - "crypto/ed25519" - "crypto/rand" - "fmt" - "log" - - "git.sigsum.org/sigsum-go/pkg/types" -) - -func main() { - vk, sk, err := ed25519.GenerateKey(rand.Reader) - if err != nil { - log.Fatalf("GenerateKey: %v", err) - } - fmt.Printf("sk: %x\n", sk[:]) - fmt.Printf("vk: %x\n", vk[:]) - fmt.Printf("kh: %x\n", types.HashFn(vk[:])[:]) -} |