Originally Posted by
kryptkat
a while back i did a study of randomology where i made a program called "wickid.c" that placed pixels at random points to see what random looked like. apparently i was the only one to see patterns. i believe this is because i have faster vision processing. young cats can see the dot move along the tv crt screen where the older cats could see the whole picture.
If you used your computer's random number generator -- rand() -- of course you will notice patterns because it is not truly random, it produces "randomesque" patterns.
Code:
#include <stdio.h>
#include <stdlib.h>
int main() {
int i;
for (i=0;i<100;i++) printf("%d ",rand());
return 0;
}
Run that as many times as you like. Every single time, you will get the exact same sequence of "random" numbers. That's a pattern alright.
You cannot study "randomness" using a computer RNG. This was the point of the discussion vis, why you cannot easily create a one-time pad with one.
One way to get a truly random one-time pad would be to get the user to type randomly or whatever for 8X the length of the message, then do odd/even modulus on this pad to get bits.