I need to generate cryptographically secure random data file of size quarter MB. Any ideas how I can do this. Any libraries/ API's available. Please guide as I am a newbie in Cryto.
This data (gen) has to be an inut to a C program which has the following usage comments on the header:
crypto_prg g gfile sfile pfile mfile < gen: generates a code determined by gen. writes code to gfile (7k), sfile (53k), pfile (4k), mfile (82k). takes some time. encoding needs mfile. decoding needs gfile sfile pfile. gen should be roughly a quarter megabyte of random data. gen without enough random data may fail to generate a code. crypto_prg will warn you in that case.
I need to generate the 'gen' in this case. How can I do that. Please advise as I am a newbie.
Thanks!