pub fn fixed_xor_hex(input1: String, input2: String) -> Result<String, hex::FromHexError> {
    let i1 = hex::decode(input1)?;
    let i2 = hex::decode(input2)?;

    Ok(hex::encode(fixed_xor(i1.as_slice(), i2.as_slice())))
}
/// Accepts two hexadecimal encoded strings of equal length and produces their XORed output
Accepts two hexadecimal encoded strings of equal length and produces their XORed output
Accepts two hexadecimal encoded strings of equal length and produces their XORed output
pub fn fixed_xor_hex(input1: String, input2: String) -> Result<String, hex::FromHexError> {
    let i1 = hex::decode(input1)?;
    let i2 = hex::decode(input2)?;
    Ok(hex::encode(fixed_xor(i1.as_slice(), i2.as_slice())))
}
pub fn fixed_xor_hex ( input1 : String , input2 : String ) -> Result < String , hex :: FromHexError > { let i1 = hex :: decode ( input1 ) ? ; let i2 = hex :: decode ( input2 ) ? ; Ok ( hex :: encode ( fixed_xor ( i1 . as_slice ( ) , i2 . as_slice ( ) ) ) ) }
Accepts two hexadecimal encoded strings of equal length and produces their XORed output
Accepts two hexadecimal encoded strings of equal length and produces their XORed output
input1
String
input2
String