Struct feistel_permutation_rs::Feistel
source · pub struct Feistel<B>where
B: BuildHasher,{ /* private fields */ }Expand description
A basic Feistel Network cipher.
The cipher requires a series of hashes which are built using
a supplied std::hash::BuildHasher (passed with the parameter
name bob, coz it’z a builder, right?)
Implementations§
Auto Trait Implementations§
impl<B> RefUnwindSafe for Feistel<B>where B: RefUnwindSafe,
impl<B> Send for Feistel<B>where B: Send,
impl<B> Sync for Feistel<B>where B: Sync,
impl<B> Unpin for Feistel<B>where B: Unpin,
impl<B> UnwindSafe for Feistel<B>where B: UnwindSafe,
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