I want to generate 512 bit RSA keypair and then encode my public key as a string. How can I achieve this?

Edit
Report