[−][src]Struct cipher_salad::vigenere::Vigenere
Implementations
impl Vigenere
[src]
pub fn new(
alphabet: Alphabet,
foreign_policy: ForeignGraphemesPolicy
) -> Vigenere
[src]
alphabet: Alphabet,
foreign_policy: ForeignGraphemesPolicy
) -> Vigenere
pub fn encrypt(
&self,
contents: &str,
key: &str
) -> Result<String, VigenereError>
[src]
&self,
contents: &str,
key: &str
) -> Result<String, VigenereError>
pub fn decrypt(
&self,
ciphertext: &str,
key: &str
) -> Result<String, VigenereError>
[src]
&self,
ciphertext: &str,
key: &str
) -> Result<String, VigenereError>
Auto Trait Implementations
impl RefUnwindSafe for Vigenere
[src]
impl Send for Vigenere
[src]
impl Sync for Vigenere
[src]
impl Unpin for Vigenere
[src]
impl UnwindSafe for Vigenere
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,