Cryptography Tutorials - Herong's Tutorial Examples - v5.40, by Dr. Herong Yang
Java Default Implementation of DSA
This chapter provides tutorial notes and example codes on the Java default implementation of DSA (Digital Signature Algorithm). Generating DSA key pair in Java; Examples of public key and private key pairs; Checking DSA key parameter; Generating DSA digital signature in Java using SHA1withDSA; Verifying DSA digital signature in Java.
Sample programs listed in this chapter have been tested with JDK 12.
Table of Contents