/php-gpg

A fork of php-gpg.

Primary LanguagePHP

php-gpg

This is a fork of the fork because everything still sucks. All unacceptable.

packagist

Features/Limitations

  • Supports encrypting with 2048-bit RSA keys.
  • Encrypted messages are integrity protected.

Usage

require 'vendor/autoload.php';

$gpg = new nicoSWD\GPG\GPG();
$pubKey = new nicoSWD\GPG\PublicKey($aPublicKey);

echo $gpg->encrypt($pubKey, 'ABCDEFGHIJKL');