__construct() __construct(\OpenPGP_PublicKeyPacket $key) Constructor. Parameters \OpenPGP_PublicKeyPacket $key Key data.
encrypt() encrypt(string $text) : array Encrypt data. Parameters string $text Plaintext. Returns array — Array of MPI values (c1, c2).
decrypt() decrypt(string $text) : string Decrypt data. Parameters string $text PKCS1-v1_5 encoded text. Returns string — Plaintext.