pub fn random_to_key(random_bytes: &[u8], etype: EncryptionType) -> Vec<u8>Expand description
Convert random bytes to a key (random-to-key).
For AES, this is the identity function: the random bytes ARE the key.
pub fn random_to_key(random_bytes: &[u8], etype: EncryptionType) -> Vec<u8>Convert random bytes to a key (random-to-key).
For AES, this is the identity function: the random bytes ARE the key.