Skip to content

nicoSWD/php-gpg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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