I have code that generates 32 bytes random numbers taking input as 32 bit value. i.e 2^32 possible inputs.
Now I passed 1-2^32 numbers to generate the random number 2^32 random numbers. I believe random numbers should not be duplicated.
How do I test to make sure that it is truely random and are not duplicated? Any idea.
Currently, I directed the random number result to txt file and developed a perl script that will go tro' each random number and compares with all other results.
Wondering is there any better method as the above method is very time consuimg.