pub struct LED {
pub key: Vec<u8>,
/* private fields */
}Expand description
LED block cipher’s block length is 64 bits, and it supports 3 key lengths of 64, 80 and 128 bits in the paper.
Fields§
§key: Vec<u8>Each element in the key vector should be 4-bit(ranges from 0x0 to 0xf).
Implementations§
Auto Trait Implementations§
impl Freeze for LED
impl RefUnwindSafe for LED
impl Send for LED
impl Sync for LED
impl Unpin for LED
impl UnwindSafe for LED
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