summaryrefslogtreecommitdiffstats
path: root/client/go/internal/util/md5.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/internal/util/md5.go')
-rw-r--r--client/go/internal/util/md5.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/client/go/internal/util/md5.go b/client/go/internal/util/md5.go
deleted file mode 100644
index 6a98b49c472..00000000000
--- a/client/go/internal/util/md5.go
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-// Author: arnej
-
-package util
-
-import (
- "crypto/md5"
- "fmt"
- "io"
-)
-
-func Md5Hex(text string) string {
- hasher := md5.New()
- io.WriteString(hasher, text)
- hash := hasher.Sum(nil)
- return fmt.Sprintf("%x", hash)
-}