pub struct VigenereVariationalAttack<'a, S>where
S: CalcType + Tokenizer,{ /* private fields */ }Expand description
If later found some char that fit the best in given index, the best char in previous index may change. it may need a rerun
okey, umm, so. it’s not that easly. I really have to write algortithm that will rerun it… but how? how to be sure taht given char is correct?
Okey, it even isn’t for breaking as it doesn’t return Result<Vec<(String, f64)>, CipherError>
Trait Implementations§
Source§impl<'a, S: Tokenizer + Default> VigenereAttack for VigenereVariationalAttack<'a, S>
impl<'a, S: Tokenizer + Default> VigenereAttack for VigenereVariationalAttack<'a, S>
fn run(&self) -> Result<VigenereAttackResult, CipherError>
Auto Trait Implementations§
impl<'a, S> Freeze for VigenereVariationalAttack<'a, S>
impl<'a, S> RefUnwindSafe for VigenereVariationalAttack<'a, S>where
<S as CalcType>::Key: RefUnwindSafe,
impl<'a, S> Send for VigenereVariationalAttack<'a, S>
impl<'a, S> Sync for VigenereVariationalAttack<'a, S>
impl<'a, S> Unpin for VigenereVariationalAttack<'a, S>
impl<'a, S> UnsafeUnpin for VigenereVariationalAttack<'a, S>
impl<'a, S> UnwindSafe for VigenereVariationalAttack<'a, S>where
<S as CalcType>::Key: RefUnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more