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: 22 years ago
Size: 236 bytes


Class file image Download
<?php require_once(''); $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; } ?>