const BlockSize = 16
The AES block size in bytes.
func NewCipher(key []byte) (cipher.Block, error)
NewCipher creates and returns a new cipher.Block. The key argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.
type KeySizeError int
func (k KeySizeError) Error() string