Versions in this module Expand all Collapse all v1 v1.0.3 Nov 4, 2023 v1.0.2 Nov 4, 2023 Changes in this version + func DecryptWithSecret(key []byte, data []byte) ([]byte, error) + func EncryptWithSecret(key []byte, data []byte) ([]byte, error) + func HashSHA1(key string) string + func NewSecretKey() ([]byte, error) + func RandomString(length int) string