DSA.php
Pure-PHP FIPS 186-4 compliant implementation of DSA.
PHP version 5
Here's an example of how to create signatures and verify signatures with this library:
getPublicKey();
$plaintext = 'terrafrost';
$signature = $private->sign($plaintext);
echo $public->verify($plaintext, $signature) ? 'verified' : 'unverified';
?>
Tags
Table of Contents
Classes
- DSA
- Pure-PHP FIPS 186-4 compliant implementation of DSA.