Function sodalite::sign_attached
[−]
[src]
pub fn sign_attached(sm: &mut [u8], m: &[u8], sk: &SignSecretKey)
Generate an attached (ie: joined) signature for a message
The signature is stored at the beginning of @sm (signed message). @sm must be at exactly @m.len() + SIGN_LEN bytes long.
@sm is not read from, it is only used as an output parameter.
Panics:
- @sm is not the right size.