Skip to main content

challenge

Function challenge 

Source
pub fn challenge(
    encoded_r: &[u8; 32],
    public_key: &[u8; 32],
    message: &[&[u8]],
) -> Scalar
Expand description

検証と同じハッシュ h = H(R ‖ A ‖ M)。encoded_r と public_key は圧縮した点のバイト列