Method Crypto.RSA.State()->pkcs_sign()
- Method pkcs_sign
string(8bit)
pkcs_sign(string(8bit)
message
,.Hash
h
)- Description
Signs the
message
with a PKCS-1 signature using hash algorithmh
. This is equivalent to I2OSP(RSASP1(OS2IP(RSAES-PKCS1-V1_5-ENCODE(message)))) in PKCS#1 v2.2.