Skip to main content

client_handshake_ntor_v1

Function client_handshake_ntor_v1 

Source
fn client_handshake_ntor_v1<R>(
    rng: &mut R,
    relay_public: &NtorPublicKey,
) -> Result<(NtorHandshakeState, Vec<u8>)>
where R: RngCore + CryptoRng,
Expand description

Perform a client handshake, generating an onionskin and a state object