How do you generate a secure random (or pseudo-random) alphanumeric string in Java efficiently?
Generate a public key for an open-key encryption algorithm and convert the byte sequence to string via Base64 algorithm.