[][src]Function sodalite::sign_attached

pub fn sign_attached(sm: &mut [u8], m: &[u8], sk: &SignSecretKey)

Sign a message m using the signers secret key sk

The signed message is returned in sm.

Panics

  • If sm is not the length of m plus SIGN_LEN bytes long.