pub trait HostAPI<const KL: usize, const SL: usize> {
    fn generate_new_user_secrets(
        &self,
        I: UsernameRef<'_>,
        p: &ClearTextPassword
    ) -> (Salt, PasswordVerifier); fn start_handshake(
        &self,
        user: &UserDetails
    ) -> (Handshake<KL, SL>, HandshakeProofVerifier); }
Expand description

this trait provides a higher level api

Required Methods

for new users, or if they recover their password

starts the handshake with the client

Implementors