match oracle_machine::decipher(address, PORT, &xor_operand, &cipher_block, variant) {
Some(ref deciphered) if deciphered.as_slice() == expected_plain_block => {
- println!("The oracle machine has found the clear block!:");
+ println!("The oracle machine has found the plain block!:");
println!(" Expected block: {}", expected_plain_block.to_vec());
println!(" Decrypted block: {}", deciphered)
}
Some(ref other) =>
- println!("The oracle machine hasn't found the clear block: {}", other),
+ println!("The oracle machine hasn't found the plain block: {}", other),
_ =>
- println!("The oracle machine hasn't found the clear block"),
+ println!("The oracle machine hasn't found the plain block"),
}
}