fn decipher(&self, ctext: &str) -> CipherResult {
        let ps = PolybiusSquare::new(&self.key, "ADFGVX");
        let ct = ColumnarTransposition::new(&self.keyword);

        ps.decipher(&ct.decipher(ctext)?)
    }
/// Deciphers the given ciphertext (a str reference) using the ADFGVX cipher
/// and returns the plaintext as a `CipherResult`.
///
/// # Example
/// ```
/// use ciphers::{Cipher, ADFGVX};
///
/// let adfgvx = ADFGVX::new("PH0QG64MEA1YL2NOFDXKR3CVS5ZW7BJ9UTI8", "GERMAN");
///
/// let ptext = adfgvx.decipher("FFDVDFADFXFGFGAVFAFFDXDXFFDVDFFDGGAGVGVXFAGGDGADFADVFXGX");
/// assert_eq!(ptext.unwrap(), "DEFENDTHEEASTWALLOFTHECASTLE");
/// ```
Deciphers the given ciphertext (a str reference) using the ADFGVX cipher
and returns the plaintext as a `CipherResult`.
Deciphers the given ciphertext ( a str reference ) using the ADFGVX cipher and returns the plaintext as a ` CipherResult ` .
fn decipher(&self, ctext: &str) -> CipherResult {
        let ps = PolybiusSquare::new(&self.key, "ADFGVX");
        let ct = ColumnarTransposition::new(&self.keyword);
        ps.decipher(&ct.decipher(ctext)?)
    }
fn decipher ( & self , ctext : & str ) -> CipherResult { let ps = PolybiusSquare :: new ( & self . key , " " ) ; let ct = ColumnarTransposition :: new ( & self . keyword ) ; ps . decipher ( & ct . decipher ( ctext ) ? ) }
Deciphers the given ciphertext (a str reference) using the ADFGVX cipher
and returns the plaintext as a `CipherResult`.
Deciphers the given ciphertext ( a str reference ) using the ADFGVX cipher and returns the plaintext as a ` CipherResult ` .
&self
ctext
&str
&self
ctext
&str
example
```
use ciphers::{Cipher, ADFGVX}.




` ` ` use ciphers :: { Cipher ADFGVX } .