lirsch
03-26-2008, 09:08 AM
Hi All,
I want to write a small function that will get as an input number of bits and will generate a string of binary number with random bits (only 0's and 1's).
currently i've used randomize and rand and when trying to construct a 1024 bits random number after about 40 bits or so all the numbers are 1's or 0's for some reason and I think the previous ones are not that random.
Thx ...
I want to write a small function that will get as an input number of bits and will generate a string of binary number with random bits (only 0's and 1's).
currently i've used randomize and rand and when trying to construct a 1024 bits random number after about 40 bits or so all the numbers are 1's or 0's for some reason and I think the previous ones are not that random.
Thx ...