mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-12-23 18:21:40 +00:00
9 lines
187 B
PHP
9 lines
187 B
PHP
|
<?php
|
||
|
require_once (dirname(__FILE__)."/main.php");
|
||
|
|
||
|
$gnupg -> setSignerKey ($fingerprint);
|
||
|
$gnupg -> setPassPhrase ($passphrase);
|
||
|
$text = $gnupg -> sign ($mailtext);
|
||
|
echo $text;
|
||
|
?>
|