method

public_decrypt

v2_1_10 - Show latest stable - Class: OpenSSL::PKey::RSA
public_decrypt(p1, p2 = v2)
public

Decrypt string, which has been encrypted with the private key, with the public key. padding defaults to PKCS1_PADDING.