summaryrefslogtreecommitdiffstats
path: root/modules/secret/secret.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/secret/secret.go')
-rw-r--r--modules/secret/secret.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/secret/secret.go b/modules/secret/secret.go
index 9c2ecd181d..e70ae1839c 100644
--- a/modules/secret/secret.go
+++ b/modules/secret/secret.go
@@ -7,13 +7,12 @@ import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
+ "crypto/sha256"
"encoding/base64"
"encoding/hex"
"errors"
"fmt"
"io"
-
- "github.com/minio/sha256-simd"
)
// AesEncrypt encrypts text and given key with AES.