Function sign_aligned_bytes

Source
pub fn sign_aligned_bytes(data: &[u8], private_key: &Key) -> Result<Signature>
Expand description

Sign already word aligned data by hashing and signing the hash.

If the data is not word aligned an error will be returned.