php-gnupg/examples/clearsign.php
2005-10-25 19:37:32 +00:00

7 lines
157 B
PHP

<?php
require_once (dirname(__FILE__)."/main.php");
$gnupg -> addSignKey ($fingerprint,$passphrase);
$text = $gnupg -> sign ($mailtext);
echo $text;
?>