Method Crypto.RSA.State()->raw_sign() Method raw_sign Gmp.mpz raw_sign(string(8bit) digest) Description Pads the digest with rsa_pad type 1 and signs it. This is equivalent to RSASP1(OS2IP(RSAES-PKCS1-V1_5-ENCODE(message))) in PKCS#1 v2.2.