php-gnupg/examples/encrypt.php

8 lines
150 B
PHP
Raw Normal View History

2005-10-07 18:59:50 +00:00
<?php
require_once (dirname(__FILE__)."/main.php");
$gnupg -> setEncryptKey ($fingerprint);
$text = $gnupg -> encrypt ($mailtext);
echo $text;
?>