method

private_decrypt

ruby latest stable - Class: OpenSSL::PKey::RSA
private_decrypt(p1, p2 = v2)
public

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