Tool/software:
We have a function to generate random data. I tried importing C library functions. Use the following statement in the code:
srand(time(NULL));
unsigned char num = rand() %256;
But the values generated each time are fixed.
What should I do to correctly generate random numbers?
Thanks.