// Generated by Lisette bindgen
// Source: crypto/des (Go stdlib)
// Go: 1.25.10
// Lisette: 0.3.0

import "go:crypto/cipher"

/// NewCipher creates and returns a new [cipher.Block].
pub fn NewCipher(key: Slice<byte>) -> Result<cipher.Block, error>

/// NewTripleDESCipher creates and returns a new [cipher.Block].
pub fn NewTripleDESCipher(key: Slice<byte>) -> Result<cipher.Block, error>

pub struct KeySizeError(int)

/// The DES block size in bytes.
pub const BlockSize = 8

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