pub fn sign(r: Record, id: &KeyPair) -> Record
Sets r.signature to the Ed25519 signature over SIG_DOMAIN || canonical_unsigned(r), matching macula_record:sign/2.
r.signature
SIG_DOMAIN || canonical_unsigned(r)
macula_record:sign/2