method

private_encrypt

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: RSA
private_encrypt(p1, p2 = v2) public

Encrypt string with the private key. padding defaults to PKCS1_PADDING. The encrypted string output can be decrypted using #public_decrypt.

Show source
Register or log in to add new notes.