Versions in this module Expand all Collapse all v1 v1.0.1 Mar 10, 2023 v1.0.0 Mar 10, 2023 Changes in this version + type Cipher struct + func NewCipher(key []byte) *Cipher + func (c *Cipher) Decrypt(dst []byte) ([]byte, error) + func (c *Cipher) Encrypt(src []byte) ([]byte, error)