It seems like I always run into something else with my system when I fix something, lol. But looking at what needs to be fixed, there is very few left to do.
My current issue lies with a random string generator, I'm basically generating a random 64 bit length hex string, and testing it's encode/decode with RSA until it comes out correctly (nobody answered my RSA enc/dec thread, so I improvised with this method)
About the only changes to my RSA functions is that it returns "ERR_LENGTH_SIZE_TOO_LONG" if the decoded length does not equal the second argument, which is assumed to be known.
I'm wondering if it would work for me to re-write my generate function to generate a random 64 bit integer and then using itoa to convert it to hex?
Input, please?
EDIT:
I also forgot to mention this. I did some research and found that the .NET framework contains some RSA functions as well, would that benefit me to use the .NET framework RSA methods, instead of openSSL? if so, is there some good key-generation examples out there?