fn decode(key: Vec<u8>, ciphertext: Vec<u8>) -> Vec<u8> {
    let mut rc5 = RC5::new();
    rc5.setup(key.as_slice());
    let ct = ciphertext.convert().try_into().unwrap();
    rc5.decrypt(&ct).convert()
}
/*
 * This function should return a plaintext for a given key and ciphertext
 *
 */
This function should return a plaintext for a given key and ciphertext
This function should return a plaintext for a given key and ciphertext
fn decode(key: Vec<u8>, ciphertext: Vec<u8>) -> Vec<u8> {
    let mut rc5 = RC5::new();
    rc5.setup(key.as_slice());
    let ct = ciphertext.convert().try_into().unwrap();
    rc5.decrypt(&ct).convert()
}
fn decode ( key : Vec < u8 > , ciphertext : Vec < u8 > ) -> Vec < u8 > { let mut rc5 = RC5 :: new ( ) ; rc5 . setup ( key . as_slice ( ) ) ; let ct = ciphertext . convert ( ) . try_into ( ) . unwrap ( ) ; rc5 . decrypt ( & ct ) . convert ( ) }
This function should return a plaintext for a given key and ciphertext
This function should return a plaintext for a given key and ciphertext
key
Vec<u8>
ciphertext
Vec<u8>