Documentation

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
category

Crypt

author

Jim Wigginton terrafrost@php.net

copyright

2016 Jim Wigginton

license

http://www.opensource.org/licenses/mit-license.html MIT License

link
http://phpseclib.sourceforge.net

Table of Contents

Classes

DSA
Pure-PHP FIPS 186-4 compliant implementation of DSA.
✖ Error 404 while fetching file: 
On this page

Search results