pub fn initiate<T>(rng: &mut T) -> SessionHandshake
    where
        T: RngCore + CryptoRng,
    {
        let mut session = SessionHandshake {
            id: [0u8; SESSION_ID_LENGTH],
        };
        rng.fill_bytes(&mut session.id[..]);
        session
    }
/// Initiate a new handshake to arrive at a shared session id
Initiate a new handshake to arrive at a shared session id
Initiate a new handshake to arrive at a shared session id
pub fn initiate<T>(rng: &mut T) -> SessionHandshake
    where
        T: RngCore + CryptoRng,
    {
        let mut session = SessionHandshake {
            id: [0u8; SESSION_ID_LENGTH],
        };
        rng.fill_bytes(&mut session.id[..]);
        session
    }
pub fn initiate < T > ( rng : & mut T ) -> SessionHandshake where T : RngCore + CryptoRng , { let mut session = SessionHandshake { id : [ 0u8 ; SESSION_ID_LENGTH ] , } ; rng . fill_bytes ( & mut session . id [ .. ] ) ; session }
Initiate a new handshake to arrive at a shared session id
Initiate a new handshake to arrive at a shared session id
rng
&mut T
rng
&mut T