Skip to main content

create_response_for_parsec

Function create_response_for_parsec 

Source
pub fn create_response_for_parsec(
    _pass: &[u8],
    _server_nonce: &[u8; 32],
    _iterations: u32,
    _server_salt: &[u8],
) -> [u8; 96]
Expand description

Crafting response message for parsec authentication. It consists of a client nonce and signature.

This will only work if parsec feature is enabled and otherwise will panic at runtime.