pub fn new(key: &str) -> Self {
        input::is_ascii(key).expect("`key` must be valid ascii");

        Self {
            key: String::from(key),
        }
    }
/// Takes the key for the Columnar Transposition cipher and
/// returns a corresponding ColumnarTransposition struct.
///
/// # Panics
/// * If `key` is not valid ascii.
Takes the key for the Columnar Transposition cipher and
returns a corresponding ColumnarTransposition struct.
Takes the key for the Columnar Transposition cipher and returns a corresponding ColumnarTransposition struct .
pub fn new(key: &str) -> Self {
        input::is_ascii(key).expect("`key` must be valid ascii");
        Self {
            key: String::from(key),
        }
    }
pub fn new ( key : & str ) -> Self { input :: is_ascii ( key ) . expect ( " " ) ; Self { key : String :: from ( key ) , } }
Takes the key for the Columnar Transposition cipher and
returns a corresponding ColumnarTransposition struct.
Takes the key for the Columnar Transposition cipher and returns a corresponding ColumnarTransposition struct .
key
&str
key
&str
panics
If `key` is not valid ascii.
If ` key ` is not valid ascii .