pub enum Keccak256Algorithm {}Expand description
Marker type for Keccak-256 (Ethereum compatible).
Trait Implementations§
Source§impl HashAlgorithm for Keccak256Algorithm
impl HashAlgorithm for Keccak256Algorithm
Source§const OUTPUT_SIZE: usize = KECCAK256_OUTPUT_SIZE
const OUTPUT_SIZE: usize = KECCAK256_OUTPUT_SIZE
Output size in bytes
Source§const BLOCK_SIZE: usize = KECCAK256_RATE
const BLOCK_SIZE: usize = KECCAK256_RATE
Block size in bytes
Source§const ALGORITHM_ID: &'static str = "Keccak-256"
const ALGORITHM_ID: &'static str = "Keccak-256"
Static algorithm identifier for compile-time checking
Auto Trait Implementations§
impl Freeze for Keccak256Algorithm
impl RefUnwindSafe for Keccak256Algorithm
impl Send for Keccak256Algorithm
impl Sync for Keccak256Algorithm
impl Unpin for Keccak256Algorithm
impl UnsafeUnpin for Keccak256Algorithm
impl UnwindSafe for Keccak256Algorithm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more