Skip to main content

pkcs1v15_sign_sha1

Function pkcs1v15_sign_sha1 

Source
pub fn pkcs1v15_sign_sha1(sk: &RsaSecretKey, message: &[u8]) -> Vec<u8> 
Expand description

Convenience: hash a message with SHA-1, then sign / verify. Legacy: do not use for new designs; SHA-1 is collision-broken.