Java based encryption and decryption library