News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Using GnuPG with PHP
August 04, 2008 @ 14:32:56

The Zend Developer Zone has a new tutorial posted today showing how to use the open source encryption tool GnuPG from inside PHP.

While GnuPG works very well as a standalone tool, it also plays very well with PHP. This integration is possible due to PHP's ext/gnupg extension, which provides a flexible and powerful API to access GnuPG functions for encryption, decryption, message signing and verification, and key maintenance. And your mission (should you choose to accept it) will be to accompany me over the next few pages, while I give you a crash course in this API, showing you how easy it is to integrate these functions into your next PHP application.

The tutorial walks you through some of the basic concepts behind the "lock and key" GnuPG implements and how to get the extension installed so you can follow along. His examples range from a basic encryption of a string out to a full encrypt/decrypt example, how to sign information with a key and even a method for sending an encrypted message.

0 comments voice your opinion now!
gnupg tutorial extension key message file crypt encrypt decrypt


blog comments powered by Disqus

Similar Posts

IBM developerWorks: PHP frameworks, Part 1: Getting started with three popular frameworks

Lorna Mitchell's Blog: Gthub API: Issues List

SitePoint Web Tech Blog: How to Test Multiple Websites on One PC With Apache Virtual Hosts

Chris Jones: Converting REF CURSOR to PIPE for Performance in PHP OCI8 and PDO_OCI

Limitless Studios: Determine Number Of Online Users Without A Database


Community Events

Don't see your event here?
Let us know!


install voicesoftheelephpant example podcast interview introduction opinion library framework series laravel5 php7 release extension language api xdebug unittest laravel community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework