method

public_encrypt

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

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

Show source
Register or log in to add new notes.