Versions in this module Expand all Collapse all v3 v3.7.7 Oct 25, 2022 v3.7.6 Oct 25, 2022 Changes in this version + type Cipher struct + func NewCipher() Cipher + func (c Cipher) Decrypt(ciphertext string, key []byte, additionalData string) (plaintext interface{}, err error) + func (c Cipher) Encrypt(plaintext interface{}, key []byte, additionalData string) (ciphertext string, err error)