diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-04-29 23:00:26 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-04-29 23:00:26 +0200 |
commit | 7661965ed955bc3b8fcbc544a346020e15678c02 (patch) | |
tree | d382464d2775d5417659daaeeb56c839cb91a676 /cmd/tmp/keygen/main.go | |
parent | 203e2144f67269e879716e6406bb78e8e3728938 (diff) |
remove programs that sigsum-debug replaced
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[:])[:]) -} |