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");
2005-10-25 19:37:32 +00:00
$gnupg -> addEncryptKey ($fingerprint);
2005-10-07 18:59:50 +00:00
$text = $gnupg -> encrypt ($mailtext);
echo $text;
?>