Versions in this module Expand all Collapse all v1 v1.0.0 Oct 21, 2023 Changes in this version + const BlockSize + var ErrInvalidKeySize = errors.New("key size must be 16, 24 or 32 bytes") + func NewCipher(key []byte) (cipher.Block, error) + type Cipher struct + func (c *Cipher) BlockSize() int + func (c *Cipher) Decrypt(dst, src []byte) + func (c *Cipher) Encrypt(dst, src []byte)