Versions in this module Expand all Collapse all v0 v0.1.0 Nov 7, 2023 Changes in this version + var ErrInvalidCipherText = errors.New("invalid text to decrypt") + func Decode(obj interface{}, key string) (interface{}, error) + func Decrypt(text string, passphrase string) ([]byte, error) + func Encrypt(data []byte, passphrase string) (string, error) + func EncryptString(s string, key string) (string, error)