If you want a deterministic means, run a cryptographic hash of the passphrase to however many bits you need.-Kyle HOn 2/17/06, Lee Colclough <
[EMAIL PROTECTED]> wrote:
Hi,
The Network Security with OpenSSL book
suggests using the OpenSSL own pseudorandom number generator.
RAN
Hi,
The Network Security with OpenSSL book
suggests using the OpenSSL own pseudorandom number generator.
RAND_bytes(key, iLength);
Where key is a char* to be populated and
iLength is the length required. Also look up seed_prng for seeding it.
Is this what you wanted to know