I am learning about crypto, 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 library or a standard algorithm that I should be looking at to accomplish this?