diff options
Diffstat (limited to 'modules/secret')
-rw-r--r-- | modules/secret/secret.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/secret/secret.go b/modules/secret/secret.go index b84d1cfea8..628ae505a5 100644 --- a/modules/secret/secret.go +++ b/modules/secret/secret.go @@ -7,11 +7,12 @@ import ( "crypto/aes" "crypto/cipher" "crypto/rand" - "crypto/sha256" "encoding/base64" "encoding/hex" "errors" "io" + + "github.com/minio/sha256-simd" ) // AesEncrypt encrypts text and given key with AES. |