aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf/config.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--conf/config.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/conf/config.go b/conf/config.go
index c764dfa9..b600456d 100644
--- a/conf/config.go
+++ b/conf/config.go
@@ -9,7 +9,6 @@ import (
"crypto/rand"
"crypto/subtle"
"encoding/base64"
- "encoding/hex"
"fmt"
"net"
"strings"
@@ -146,10 +145,6 @@ func (k *Key) String() string {
return base64.StdEncoding.EncodeToString(k[:])
}
-func (k *Key) HexString() string {
- return hex.EncodeToString(k[:])
-}
-
func (k *Key) IsZero() bool {
var zeros Key
return subtle.ConstantTimeCompare(zeros[:], k[:]) == 1