/// Takes the key for the Vigenere cipher and returns a corresponding
/// Vigenere struct.
///
/// # Panics
/// * If `key` is not alphabetic.
Takes the key for the Vigenere cipher and returns a corresponding
Vigenere struct.
Takes the key for the Vigenere cipher and returns a corresponding Vigenere struct .
pub fn new(key: &str) -> Self {
        input::is_alpha(key).expect("`key` must be alphabetic");
        Self {
            key: key.to_ascii_uppercase(),
        }
    }
pub fn new ( key : & str ) -> Self { input :: is_alpha ( key ) . expect ( " " ) ; Self { key : key . to_ascii_uppercase ( ) , } }
Takes the key for the Vigenere cipher and returns a corresponding
Vigenere struct.
Takes the key for the Vigenere cipher and returns a corresponding Vigenere struct .
key
&str
panics
If `key` is not alphabetic.
If ` key ` is not alphabetic .