Cryptography Tutorials - Herong's Tutorial Examples - Version 5.40, by Dr. Herong Yang
Cipher - Secret Key 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.
Sample programs listed in this chapter have been tested with JDK 12.
Table of Contents