I am learning about cryptography, purely for my own interest. As part of that, I am implementing a simple one-time-pad toolset in C.
Naturally, I need to generate random numbers to create the pad, and they need to be cryptographically strong. I know about
rand(), but from what I can tell it is not strong.
Is there a standard algorithm (or library) that I should be looking at to accomplish this?