1
0
Fork 0
mirror of https://github.com/php-gnupg/php-gnupg.git synced 2025-01-14 02:41:40 +00:00
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;
?>