Versions in this module Expand all Collapse all v1 v1.0.0 Jan 24, 2024 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