Recommend this page to a friend! | Stumble It! | Bookmark in del.icio.us |
Classes of Max Derkachev | > | GNUPG | > | pgpencrypt.php | > | Download | ||
|
Download |
<?php require_once('gnupg.inc'); $message = 'test message'; $pgp = new GNUPG('Foo <foo@bar.com>'); if (!$res = $pgp->encrypt($message)) { print "not ok\n"; print $pgp->error; } else { print "ok\n"; print $res; } ?> |