PHP Classes

File: pgpencrypt.php

Recommend this page to a friend!
  Classes of Max Derkachev  >  GNUPG  >  pgpencrypt.php  >  Download  
File: pgpencrypt.php
Role: ???
Content type: text/plain
Description: a demo using GNUPG class
Class: GNUPG
Author: By
Last change:
Date: 20 years ago
Size: 236 bytes


Class file image Download
$message = 'test message';
$pgp = new GNUPG('Foo <>');
if (!$res = $pgp->encrypt($message)) {
  print "not ok\n";
  print $pgp->error;
else {
  print "ok\n";
  print $res;
For more information send a message to info at phpclasses dot org.