Pike v8.1 release 6

Method Crypto.RSA.PKCS1_5State()->encrypt()


Method encrypt

string(8bit) encrypt(string(8bit) s, function(int:string(8bit))|void r)

Description

Pads the message s with rsa_pad type 2, signs it and returns the signature as a byte string.

Parameter r

Optional random function to be passed down to rsa_pad.