Data encryption in Java is quite simple and the Java Cryptographic Extension framework enables you to encrypt data in different widely accepted algorithms.
As an example for this tutorial we will use Blowfish algorithm to encrypt data.
Read the rest of this article here