Topic: RSA Key Generation from a Pass Phrase
I want to generate a public/private key pair from a string. For example "My secret pass phrase goes here" would be entered by a user and I would somehow generate the public and private RSA keys from that.
In looking at the documentation it appears that the only way to do that would be indirectly: by somehow hashing the pass phrase down to a long integer that could then be used as "e" in "int MakeRsaKey(RsaKey* key, int size, long e, RNG* rng);".
Does that make sense? Is there some other technique that I could use?
And given that my resulting hash will probably not be a prime number, does that make any difference?