Generate the pair of public key and private key. The RSA implementation is included.