feat(cli): make flat command structure

This commit is contained in:
2025-10-17 22:53:35 +03:00
parent 54ddcab377
commit 66b440adf6
9 changed files with 258 additions and 215 deletions

View File

@@ -8,6 +8,8 @@ use crate::{CipherAction, CipherError, CipherOutput, CipherResult};
pub trait BlockCipher: Sized {
const BLOCK_SIZE: usize;
fn from_key(key: &[u8]) -> Self;
/// Core cipher transformation (must be implemented by concrete types).
///
/// # Errors