Function initiate_request_with_signature

Source
pub fn initiate_request_with_signature(
    random_bytes: &[u8],
    identity_provider: &impl IdentityProvider,
) -> (VerifyingKey, Signature)
Expand description

Given random bytes and an identity provider, returns the verifying key and a signature of the random bytes.

NOTE: random bytes are prefixed with a predefined phrase before signing.