Java implementation of RSA cryptographic algorithm