pub fn encrypt_random_chosen_msg(
    random_msg: &[u8],
    k: &[u8],
    iv: &[u8],
) -> Result<Vec<u8>, symmetriccipher::SymmetricCipherError> {
    crate::aes_cbc::encrypt_aes_128_cbc(random_msg, k, iv)
}
/// encrypt_random_chosen_msg is a helper function for problem 1 from set 3.
///
/// Solution for problem 1 from set 3: <https://cryptopals.com/sets/3/challenges/17>
encrypt_random_chosen_msg is a helper function for problem 1 from set 3.
Solution for problem 1 from set 3.
encrypt_random_chosen_msg is a helper function for problem 1 from set 3 . Solution for problem 1 from set 3 .
pub fn encrypt_random_chosen_msg(
    random_msg: &[u8],
    k: &[u8],
    iv: &[u8],
) -> Result<Vec<u8>, symmetriccipher::SymmetricCipherError> {
    crate::aes_cbc::encrypt_aes_128_cbc(random_msg, k, iv)
}
pub fn encrypt_random_chosen_msg ( random_msg : & [ u8 ] , k : & [ u8 ] , iv : & [ u8 ] , ) -> Result < Vec < u8 > , symmetriccipher :: SymmetricCipherError > { crate :: aes_cbc :: encrypt_aes_128_cbc ( random_msg , k , iv ) }
encrypt_random_chosen_msg is a helper function for problem 1 from set 3.
encrypt_random_chosen_msg is a helper function for problem 1 from set 3 .
random_msg
&[u8]
k
&[u8]
iv
&[u8]