Method Crypto.RSA.PSSState()->pkcs_sign()
- Method pkcs_sign
 localstring(8bit)pkcs_sign(string(8bit)message,.Hashh,string(8bit)|int(0..)|voidsalt)- Description
 Signs the
messagewith a RSASSA-PSS signature using hash algorithmh.- Parameter 
message Message to sign.
- Parameter 
h Hash algorithm to use.
- Parameter 
salt Either of
int(0..)Use a
randomsalt of this length for the signature.zero|voidUse a
randomsalt of lengthsalt_size().string(8bit)Use this specific salt.
- Returns
 Returns the signature on success, and
0(zero) on failure (typically that the hash + salt combo is too large for the RSA modulo).- See also
 pkcs_verify(),
salt_size(), RFC 3447 section 8.1.1