mirror of
https://github.com/kristoferssolo/cipher-workshop.git
synced 2026-02-04 06:42:11 +00:00
feat(cli): make flat command structure
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user