pub fn pkcs1v15_verify_sha1(
pk: &RsaPublicKey,
message: &[u8],
sig: &[u8],
) -> boolExpand description
Convenience: hash a message with SHA-1, then sign / verify. Legacy: do not use for new designs; SHA-1 is collision-broken.
pub fn pkcs1v15_verify_sha1(
pk: &RsaPublicKey,
message: &[u8],
sig: &[u8],
) -> boolConvenience: hash a message with SHA-1, then sign / verify. Legacy: do not use for new designs; SHA-1 is collision-broken.