Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 501 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 501 Bytes

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');