diff options
Diffstat (limited to 'cmd/sigsum-debug/key')
-rw-r--r-- | cmd/sigsum-debug/key/hash/hash.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/sigsum-debug/key/hash/hash.go b/cmd/sigsum-debug/key/hash/hash.go index 0431dfc..bb2fe58 100644 --- a/cmd/sigsum-debug/key/hash/hash.go +++ b/cmd/sigsum-debug/key/hash/hash.go @@ -6,7 +6,7 @@ import ( "git.sigsum.org/sigsum-go/internal/fmtio" "git.sigsum.org/sigsum-go/pkg/hex" - "git.sigsum.org/sigsum-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/merkle" ) func Main(args []string) error { @@ -22,7 +22,7 @@ func Main(args []string) error { return fmt.Errorf("parse key: %w", err) } - keyHash := types.HashFn(pub[:]) + keyHash := merkle.HashFn(pub[:]) fmt.Printf("%s\n", hex.Serialize(keyHash[:])) return nil |