// Generated by Lisette bindgen
// Source: crypto/aes (Go stdlib)
// Go: 1.25.5
// Lisette: 0.1.11

import "go:crypto/cipher"

/// NewCipher creates and returns a new [cipher.Block].
/// The key argument must be the AES key,
/// either 16, 24, or 32 bytes to select
/// AES-128, AES-192, or AES-256.
pub fn NewCipher(key: Slice<uint8>) -> Result<cipher.Block, error>

pub struct KeySizeError(int)

/// The AES block size in bytes.
const BlockSize = 16

impl KeySizeError {
  fn Error(self) -> string
}
