Different security algo like RSA, Diffi Hellman application in JAVA