Versions in this module Expand all Collapse all v1 v1.3.3 Sep 18, 2021 Changes in this version + const BlockSize + const KeySize + func CBCDecrypt(key, iv, cipherText []byte) (plainText []byte, err error) + func CBCEncrypt(key, iv, plainText []byte) (cipherText []byte, err error) + func ECBDecrypt(key, cipherText []byte) (plainText []byte, err error) + func ECBEncrypt(key, plainText []byte) (cipherText []byte, err error) + func NewCipher(key []byte) (cipher.Block, error) + type KeySizeError int + func (k KeySizeError) Error() string