mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-12-24 10:41:41 +00:00
8 lines
150 B
PHP
8 lines
150 B
PHP
|
<?php
|
||
|
require_once (dirname(__FILE__)."/main.php");
|
||
|
|
||
|
$gnupg -> setEncryptKey ($fingerprint);
|
||
|
$text = $gnupg -> encrypt ($mailtext);
|
||
|
echo $text;
|
||
|
?>
|