PHP Classes

gnuPG class: Encrypt data and manipulate keys using gnuPG

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 4,360 All time: 665 This week: 673Down
Version License Categories
gnupg_class 1.0.0GNU Lesser Genera...Cryptography, Text processing


This class provides an PHP interface to use the functionality of gnuPG to encrypt and decrypt data and manipulate encryption keys.

The implemented functionality includes:

- GenKey: generate a new key.
- Encrypt: encrypt any content
- Decrypt: decrypt previously encrypted content
- Export: export a key
- Import: import a key block
- ListKeys: list the keys in the key ring
- DeleteKey: delete a key from the key ring
- SignKey: make a signature on key

This class not use temporary files, so the passwords and the sensitive information to be encrypt is never made accessible from the outside of the applications that use this class.

Picture of Enrique Garcia M.
Name: Enrique Garcia M. <contact>
Classes: 2 packages by
Country: Colombia Colombia
Age: 51
All time rank: 1984 in Colombia Colombia
Week rank: 97 Up1 in Colombia Colombia Up


NOTA [ES]. ---------------------------------------------------------- En general el usuario con el cual se corre el GPG debe tener permisos de escritura sobre el keyring (*.gpg). Para plataformas WINDOWS, esto equivale a decir que el usuario IWAM_/IUSR_ dependiendo de si corre como ISAPI/CGI debe tener permisos de modify sobre la carpeta en donde estan los archivos que hacen parte del keyring. Adicionalmente hay que asegurar que el usuario con el cual corre el IIS pueda llamar al command, para poder llamar al gpg.exe cacls cmd.exe /E /G MACHINE\IUSR_MACHINE:R

  Files folder image Files  
File Role Description
Accessible without login HTML file gnuPG_class.html Doc. HTML Documentation
Accessible without login Plain text file Class The main class for the project.
Accessible without login Plain text file gnuPG_example.php Example The example file, show every method.
Plain text file readme.txt Doc. Notes about permissions in GPG

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:665
This week:673Down
User Ratings User Comments (2)
 All time
Es justo lo que estaba buscando.
8 years ago (azazelix)
simplemente genial.
16 years ago (Jesus Christian Cruz Acono)