Implements different encryption and decryption algorithms in JAVA using private/public key