Skip to main content

machine_proof_message

Function machine_proof_message 

Source
pub fn machine_proof_message(nonce: &[u8], machine: &str) -> Vec<u8> ⓘ
Expand description

What a machine signs to answer a challenge: this prefix, the challenge, then its ID. The prefix keeps the signature from meaning anything else.