mirror of
https://github.com/kristoferssolo/cipher-workshop.git
synced 2026-02-04 06:42:11 +00:00
feat: add secret_int macro
This commit is contained in:
@@ -28,7 +28,7 @@ pub trait BlockLike: Sized + Copy + Clone {
|
||||
/// Minimal trait describing a fixed-size key-like value.
|
||||
///
|
||||
/// Concrete key types (e.g. `Secret<const N: usize>`) should implement this.
|
||||
pub trait KeyLike: Sized + Copy + Clone {
|
||||
pub trait KeyLike: Sized {
|
||||
/// Size of the key in bytes.
|
||||
const SIZE: usize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user