std :: crypto::rsa
Function std::rsa_verify_pkcs1
int rsa_verify_pkcs1(
const &RsaPublicKey key,
int alg,
[]const unsigned char hash,
[]const unsigned char sig,
)RSASSA-PKCS1-v1_5 verification of 'hash' (the digest_size(alg)-byte digest of the message) against sig[0..sig_len). 1 if valid.