pub fn parse_cipher_kind(v: &str) -> Result<CipherKind, String>