pub fn new_session_key<R: Rng + CryptoRng>(self, rng: &mut R) -> Vec<u8> {
        let mut session_key = vec![0u8; self.key_size()];
        rng.fill_bytes(&mut session_key);
        session_key
    }
/// Generate a new session key.
Generate a new session key.
Generate a new session key .
pub fn new_session_key<R: Rng + CryptoRng>(self, rng: &mut R) -> Vec<u8> {
        let mut session_key = vec![0u8; self.key_size()];
        rng.fill_bytes(&mut session_key);
        session_key
    }
pub fn new_session_key < R : Rng + CryptoRng > ( self , rng : & mut R ) -> Vec < u8 > { let mut session_key = vec ! [ 0u8 self key_size ( ) ] ; rng . fill_bytes ( & mut session_key ) ; session_key }
Generate a new session key.
Generate a new session key .
self
rng
&mut R
self
rng
&mut R