nicoswd / php-gpg
Pure PHP GPG implementation, forked from php-gpg.
Installs: 129 817
Dependents: 6
Suggesters: 3
Security: 0
Stars: 6
Watchers: 2
Forks: 28
pkg:composer/nicoswd/php-gpg
Requires
- php: >=7.0
- phpseclib/phpseclib: ^2.0 || ^3.0
Requires (Dev)
- phpunit/phpunit: ^5.1
README
This is a fork of the fork because everything still sucks. All unacceptable.
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');