feat(cli): add AES to cli app

This commit is contained in:
2025-11-24 11:23:37 +02:00
parent 5b3ca7eacf
commit 051bba33a8
6 changed files with 47 additions and 35 deletions

View File

@@ -5,7 +5,7 @@ use crate::{CipherAction, CipherError, CipherResult, Output};
/// Implements the standard encrypt/decrypt interface for block ciphers.
/// Implementers define `transform_impl` to handle the core algorithm,
/// while `transform` provides validation and convenience wrappers.
pub trait BlockCipher: Sized {
pub trait BlockCipher {
const BLOCK_SIZE: usize;
fn from_key(key: &[u8]) -> Self;