This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

private_encrypt

        # OpenSSL::PKey::RSA.private_encrypt

(from ruby core)
### Implementation from RSA
---
    rsa.private_encrypt(string)          -> String
    rsa.private_encrypt(string, padding) -> String

---

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

**Deprecated in version 3.0**. Consider using PKey::PKey#sign_raw and
PKey::PKey#verify_raw, and PKey::PKey#verify_recover instead.



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.