JDK Tutorials - Herong's Tutorial Examples - v6.21, by Dr. Herong Yang
Cipher - Encryption and Decryption
This chapter provides tutorial notes and example codes on the cipher process. Topics include the cipher process - data encryption and decryption; the cipher class, javax.crypto.Cipher; the cipher sample program and test results with Blowfish and DES encryption algorithms.
These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.
javax.crypto.Cipher - The Secret Key Encryption Class
JceSecretCipher.java - Secret Key Encryption Sample Program
Blowfish and DES Secret Key Encryption Tests
JcePublicCipher.java - Private and Public Key Encryption
DSA Public Key Encryption Tests
RSA Public Key Encryption Tests
Read my other book "Cryptography Tutorials - Herong's Tutorial Examples" for more cryptography tutorials at herongyang.com/Cryptography.
Table of Contents