php-gnupg/examples/clearsign.php

8 lines
157 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 -> addSignKey ($fingerprint,$passphrase);
2005-10-07 18:59:50 +00:00
$text = $gnupg -> sign ($mailtext);
echo $text;
?>