You can generate a RSA keypair like this:
gpg --gen-key pgpdump -i ~/.gnupg/secring.gpg
And then copy the list of bytes out, and do this in Vim:
;%s/ /, 0x/g