Slashdot Mirror


LavaRnd: A Open Source Project for Truly Random Numbers

Phil Windley writes "Truly random numbers are crucial to good encryption. Most people have heard of Silicon Graphic's use of Lava Lamps to generate random numbers. There were some problems: it required special SGI hardware and software along with six lava lamps, and the solution wasn't portable. But the biggest drawback was that SGI patented the idea so it wasn't freely available. Now, some of the scientists behind the SGI random number system have create LavaRnd, an open source project for creating truly random numbers using inexpensive cameras, open source code, and inexpensive hardware. The system uses a saturated CCD in a light-tight can as a chaotic source to produce the seed. Software processes the result into truly random numbers in a variety of formats. The result is a random number that is crytographically sound, ranking at the top of its class in the NIST 800-22 Billion bit test. Its even portable, so the truly paranoid can take it with them when they travel."

549 comments

  1. Bizarre sequences of random numbers by umrgregg · · Score: 4, Funny
    I just used LavaRnd's Lotto Number Generator with default values and it returned:

    1, 2, 3, 4, 5, 6

    Talk about random...

    Anyway, my idea for an open source number generator is to have people on slashdot post the first number that comes to mind in this thread. I don't know if it could get more random.... (patent pending)

    --
    NMG
    1. Re:Bizarre sequences of random numbers by wfberg · · Score: 4, Funny

      Anyway, my idea for an open source number generator is to have people on slashdot post the first number that comes to mind in this thread. I don't know if it could get more random.... (patent pending)

      69

      --
      SCO employee? Check out the bounty
    2. Re:Bizarre sequences of random numbers by inertia187 · · Score: 4, Funny

      You think that's bizarre, I got "503 Service Unavailable." How do I use that as a lotto number??

      --
      A programmer is a machine for converting coffee into code.
    3. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      You know it'll just be a Gaussian distribution centered around the number 42.

    4. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      23

    5. Re:Bizarre sequences of random numbers by Geek+of+Tech · · Score: 1
      14i (Where i = square root of -1)

      If you want a real number....
      72

      --
      Stop the Slashdot effect! Don't read the articles!
    6. Re:Bizarre sequences of random numbers by Elbelow · · Score: 5, Funny

      I just used LavaRnd's Lotto Number Generator with default values and it returned:

      1, 2, 3, 4, 5, 6


      Well, in a truly random sequence, this combination is just as likely as any other... :-)

    7. Re:Bizarre sequences of random numbers by umrgregg · · Score: 1

      It's already started, I better sell this patent quick. :)

      --
      NMG
    8. Re:Bizarre sequences of random numbers by 42forty-two42 · · Score: 2, Funny

      Be sure to filter out all instances of '42' in the output.

    9. Re:Bizarre sequences of random numbers by bassdrop · · Score: 1

      1, 2, 3, 4, 5, 6 is a random sequence of numbers. It's like the old question of which of the following isn't a random set of numbers: a) 1, 26, 23, 17, 5, 11 b) 21, 7, 29, 6, 28, 1 c) 1, 2, 3, 4, 5, 6 the answer is of course they are all random, the chance of each one occuring is exactly the same, only our mind makes them significant

    10. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      lol i didn't see these coming:
      1337
      42
      73
      69
      486
      640k

    11. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 1, Funny

      >42

      I call prior art. See my comment above yours. The lawyers should be arriving at your house... NOW.

    12. Re:Bizarre sequences of random numbers by drewbradford · · Score: 4, Interesting

      What strikes me as odd is that the term "random numbers" is still used even among us, the excessively nerdy. Of course, pseudo-random is better, but I think that "unpredictable" would be the best term.

      All numbers generated are based on something, so they'll never be truly random. The best that we can do is make them truly unpredictable, such that it cannot be determined which specific factors they are based on.

      ===
      http://www.drewbradford.com/

    13. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      42! wait no! 69! hmmm... is it still random if I have to think about it?

    14. Re:Bizarre sequences of random numbers by batkins · · Score: 2, Informative

      Yeah, but pseudo-random numbers are, by definition, predictable.

    15. Re:Bizarre sequences of random numbers by AlphaBlade · · Score: 1

      42.1 Let's have at least a bit of randomness, shall we?

    16. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      whats funny about 42?

    17. Re:Bizarre sequences of random numbers by craig2787 · · Score: 1

      My answer is 44BSD

    18. Re:Bizarre sequences of random numbers by wideBlueSkies · · Score: 1

      How about 503?

      Myself, I like 2112.

      wbs.

      --
      Huh?
    19. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 1, Funny

      There's always one person who doesn't get a joke. Contratulations on being that one.

    20. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      whats funny about the 42? I am clueless here.

    21. Re:Bizarre sequences of random numbers by Guano_Jim · · Score: 4, Funny

      That sounds like the combination an idiot would have on his luggage!

    22. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 1, Insightful

      Nothing, it's a/the correct answer.

    23. Re:Bizarre sequences of random numbers by entrager · · Score: 1

      Dude, this is Slashdot... do you really need to explain what i is?

    24. Re:Bizarre sequences of random numbers by slimak · · Score: 1
      the chance of each one occuring is exactly the same

      only if the numbers appearing in those three sample paths (1, 2, 3, 4, 5, 6, 7,11, 21, 23, 26, etc) are evenly distributed. i.e. f(1)=f(2)=f(23)=...=A where f(x) is the probability density function of some random variable X having the value x. If our sample set is {1, 2} and we have the ordered set [X1 X2] of random variables, our possible outcomes are of coarse:
      [1 1]
      [1 2]
      [2 1]
      [2 2]

      now if f(1)=f(2)=.5 then yes all 4 are equally likely (with probability 1/4), but if f(1)=.25 and f(2)=.75 then
      P([1 1]) = .125
      P([2 2]) = .5625
      which of coarse are not equal.

    25. Re:Bizarre sequences of random numbers by Razor+Blades+are+Not · · Score: 1

      That's what I was going to say !
      I guess slashdot isn't a great random number generator after all.

    26. Re:Bizarre sequences of random numbers by fritter · · Score: 1, Redundant

      I just used LavaRnd's Lotto Number Generator with default values and it returned:

      1, 2, 3, 4, 5, 6


      Hey, dammit! How did they know the combination to my luggage?

    27. Re:Bizarre sequences of random numbers by FroMan · · Score: 1

      69

      --
      Norris/Palin 2012
      Fact: We deserve leaders who can kick your ass and field dress your carcass.
    28. Re:Bizarre sequences of random numbers by Space_Nerd · · Score: 1

      Knowing the demographics of slashdot i can say without a shadow of a doubt that that was wishful thinking

      --
      Everybody has a purpose in life, maybe mine is to lurk in slashdot.
    29. Re:Bizarre sequences of random numbers by CastrTroy · · Score: 1

      It's called the Pick 3 lotto. Surely they have then in your locale. I know they are quite popular in most parts of Canada and the USA.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    30. Re:Bizarre sequences of random numbers by NudeZiggy · · Score: 1

      yeah, but considering every combination is just as likely means that the probablilty of a specific one is very low ( 1/6! in this case, I could be wrong it's been a while since number theory) . would that mean that actually getting a set of numbers isn't very likely making the whole thing moot?

    31. Re:Bizarre sequences of random numbers by itwerx · · Score: 2, Informative

      Amazing how many /.'ers dunno what 42 is. :)

      It's the Answer to the Question...

    32. Re:Bizarre sequences of random numbers by malfunct · · Score: 2, Interesting
      What always bothers me is when people want uniformly distributed random numbers. I know why its valuable but if you make sure that your numbers are uniformly distributed they aren't really random anymore.

      Its just as likely to get all 0's or all 1's as it is to get any other single random number and yet 9 out of 10 people would probably say all 0's or all 1's isn't a random result, even when it comes from a random source.

      I guess the big misunderstanding is that once you have a number, its not random, you know what it is. A random pattern is probably better defined as one you can't predict, and once you have it, recreating it with the same process is not likely.

      --

      "You can now flame me, I am full of love,"

    33. Re:Bizarre sequences of random numbers by redfenix · · Score: 0

      37!?!?

      *slurp* *slurp* *slurp*

      --
      "It's a very tangled subsystem." --Windows kernel guru
    34. Re:Bizarre sequences of random numbers by mistermund · · Score: 1

      1, 2, 3, 4, 5, 6
      Talk about random...


      Though the chance of getting those 6 numbers in a sequential row is quite small, it is just as random as any other sequence that the system could put out.

      'Course, the lava lamp could be slashdotted and just be feeding back a static value. Can't load the page right now anyway.

    35. Re:Bizarre sequences of random numbers by rwiedower · · Score: 0, Offtopic

      Perhaps said person is an idiot, where i stands for the negative square root of "dot".

      Therefore idiot = i idot = dot

    36. Re:Bizarre sequences of random numbers by saskwach · · Score: 1

      Yes, I was under the impression that j was the square root of negative 1 and that "i" was current.
      Don't forget the EE type nerds.

    37. Re:Bizarre sequences of random numbers by Q2Serpent · · Score: 1

      This is what i means to me...

      for( i = 0; i < strlen(some_string); i++ ) { ... }

      -Serp

    38. Re:Bizarre sequences of random numbers by rwiedower · · Score: 1

      Whoops! Of course, I meant to say that:

      idiot = i idot = dot^2

    39. Re:Bizarre sequences of random numbers by LostCluster · · Score: 1

      I never truely understood how state lotto systems produced randomness anyway. Afterall, the standards for the balls and machinery are so exacting that any measureable fault is not tolerated. The same machinery with the same timeing drops balls of the same weight from the same positons with the same babe standing on the same mark on the floor. Couldn't the remaining major variables such the gravitational pull of the moon eventually be solved for?

    40. Re:Bizarre sequences of random numbers by Muddie · · Score: 1

      1,2,3,4,5????
      That's the combination to my luggage! /spaceballs refrence

    41. Re:Bizarre sequences of random numbers by jpmkm · · Score: 0, Flamebait

      you're a moron.

    42. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      Anyway, my idea for an open source number generator is to have people on slashdot post the first number that comes to mind in this thread. I don't know if it could get more random.... (patent pending)

      69


      42

    43. Re:Bizarre sequences of random numbers by BradleyUffner · · Score: 1

      Don't forget the eventual wearing down of the balls when they colide with each other. You would have to start with fresh balls each time with the exact same molecular arrangement.

    44. Re:Bizarre sequences of random numbers by jpmkm · · Score: 1

      rush fan?

    45. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      You have a very twisted understanding of the term "uniformly distributed". The kind of distribution has jack shit to do with 000000000000 or 11111111111 being random numbers or not. "It's just as likely to get all 0's or all 1's (as any other sequence)" is the definition of a uniform distribution. The sum of two dice is not uniformly distributed because it's more likely to throw 6 than it is to throw 2 or 12. Throwing a single dice produces a uniform distribution. If you apply both methods 10 times, both can result in 6666666666.

    46. Re:Bizarre sequences of random numbers by Moeses · · Score: 0, Redundant

      That's amazing. I've got the same combination on my luggage!

    47. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      Dude, most people are going to respond 42. Because we are all geeks

    48. Re:Bizarre sequences of random numbers by MacJedi · · Score: 3, Insightful
      What always bothers me is when people want uniformly distributed random numbers. I know why its valuable but if you make sure that your numbers are uniformly distributed they aren't really random anymore.
      I'm guessing that this isn't exactly what you wanted to say and it just came out wrong, but why are uniformly distributed random numbers not random? True, you have knowledge about the distribution that the random numbers came from, but you still would never be able to predict the next number. And, bottom line, if you can't predict the next number IT REALLY IS RANDOM.

      /joeyo

      --
      2^5
    49. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      Heisenberg's uncertainty principle? Nature is truly random (or at least unpredictable from inside).

    50. Re:Bizarre sequences of random numbers by telbij · · Score: 1

      To get even more excessively nerdy on you... in that case should we even be using the word random at all? I suppose that goes to the heart of the debate over determinism, but since the word random is widely known and used, I say we might as well keep it on as meaning: something we can not reliably predict with current methods.

    51. Re:Bizarre sequences of random numbers by anderm7 · · Score: 1

      Damn right. Thats the first thing I thought. Makes perfect sense. I think I took a whole course in this:
      i = Current
      j = sqrt -1
      L = inductance
      q = charge
      C = capacitance
      G = conductance

    52. Re:Bizarre sequences of random numbers by serviscope_minor · · Score: 1

      You can have perfectly random uniformly distributed numbers, just as they could have a Gaussian, Poisson, etc... distribution. Even if 1 in 1000 of the bits were a zero, the next number is still random, since you can not predict what it will be with 100% certainty.

      Of course, once you have a number, its a different matter. Mathematicians consider a random number to be its own shortest description. This way, you can prove a number isn't random relatively easily, by finding a shorter description for it. Proving that one is random is very much harder.

      --
      SJW n. One who posts facts.
    53. Re:Bizarre sequences of random numbers by Geek+of+Tech · · Score: 1

      It was j? Dang. Somebody needs to tell my math teacher. She went through the whole semester telling us i.

      --
      Stop the Slashdot effect! Don't read the articles!
    54. Re:Bizarre sequences of random numbers by QEDog · · Score: 1
      whats funny about 42?

      Oh gosh, someone finally found the question!!!!

      Q: Whats funny about 42?
      A: 42

      *Universe collapses.*
      * Universe reemerges even more weird than before.*
      Why is /. still in it?

      --
      "There is no teacher but the enemy."-Mazer Rackham
    55. Re:Bizarre sequences of random numbers by Henry+V+.009 · · Score: 1

      Quantum physics is random. Just pop an electron through a slit and measure its deflection. There's random for you.

    56. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      The Earth is about to be destroyed! (the Ultimate Question will have to wait)

    57. Re:Bizarre sequences of random numbers by SKPhoton · · Score: 1

      LavaRnd releases the next version of its random number generator. Now its random numbers are produced by animals banging on a keyboard in a zoo!

    58. Re:Bizarre sequences of random numbers by BuR4N · · Score: 1

      "Anyway, my idea for an open source number generator is to have people on slashdot post the first number that comes to mind in this thread. I don't know if it could get more random.... (patent pending)"

      hmm , dont know about that , you will end up with loads of "42" ....

      --
      http://www.intellipool.se/ - Intellipool Network Monitor
    59. Re:Bizarre sequences of random numbers by pclminion · · Score: 4, Informative
      What always bothers me is when people want uniformly distributed random numbers. I know why its valuable but if you make sure that your numbers are uniformly distributed they aren't really random anymore.

      You don't understand what is meant by "uniformly distributed." Say you have a uniform random variable taking on the values 1..10. A "uniform random variable" means that each possible outcome has an equal probability of occurring. It doesn't mean that there must necessarily be equal numbers of 1,2,3,4, etc. in the output.

      Imagine the previous random source generating two sequences. The first is [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]. The second sequence is [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]. How much less likely is it to generate the second sequence than the first one? The answer is, it is no less likely. Both sequences are equally likely. This is the meaning of a "uniform source." It certainly doesn't mean that sequences such as [1, 1, 1, ...] cannot occur!

      9 out of 10 people would probably say all 0's or all 1's isn't a random result, even when it comes from a random source.

      They probably would say that, but they'd be wrong. People have major misconceptions about randomness. If a random source generates the sequence [1, 6, 3, 3, 8, 2] people will say "Ho hum." If the same source outputs [1, 2, 3, 4, 5, 6] people all of a sudden get interested and say "I wonder what's going on." There's nothing going on. The random source doesn't care whether your brain wants to ascribe some special meaning to the sequence [1, 2, 3, 4, 5, 6]; it generated it mindlessly, and your human tendency to pick out patterns has kicked in. You are imposing your own order on it, when no real order exists.

    60. Re:Bizarre sequences of random numbers by Anonymous+Cow+herd · · Score: 1

      Shame on you, wasting all those CPU cycles on strlen() calls! :-P

      --
      Ita erat quando hic adveni.
    61. Re:Bizarre sequences of random numbers by sh00z · · Score: 1

      Try again. I think what you mean is: idiot = i*i*dot = -dot

    62. Re:Bizarre sequences of random numbers by itwerx · · Score: 1

      only if the numbers appearing in those three sample paths (1, 2, 3, 4, 5, 6, 7,11, 21, 23, 26, etc) are evenly distributed

      You're assuming a representative sampling which this, by definition, is not.
      Nice post but unfortunately based on insufficient data. :)

    63. Re:Bizarre sequences of random numbers by Asprin · · Score: 2, Insightful


      I've had a gripe about random number research since I sat in on a guest colloquium on this topic in the late 80's.

      The word "random" cannot describe a result, only the process that generates that result. A truly random generator should be entirely capable of generating such patterned sequences like 1,2,3,4,5,6; although it should select them no more or less than any other sequence you care to consider interesting.

      Put another way, every seemingly random sequence will mean something very special to somebody eventually.

      If you set out with the assumption that such patterned results must never occur, then you have biased your generator against certain results, and your generator is therefore, BY DEFINITION, not random. In fact, a predisposed inability to generate such sequences should be grounds for discrediting a generator.

      This drove me crazy (like a splinter, not like explaining Scott Baio's career) all through the lecture and beyond.

      But, alas, we live in the world of the human, where we have sex, UFOs, attorneys, crop circles, knee-jerk reactions to politically charged topics and Mighty Mouse. In *THIS* world, the sequence 1,2,3,4,5,6 **IS** special, because we are hopelessly devoid of really genuinely new ideas. Just like computers work be copying, we work by finding and engaging patterns.

      So, I decided that randomness has nothing to do with it. Their real goal isn't a flat probability function, but throwing out the first few percent of possibilities the bad guys are likely to try first so they are forced to think harder.

      I also decided that when cryptography and number theory people say "random", they really mean "unpredictable" or "unpatterened" and I should just leave it at that. I just wish they hadn't been so careless in choosing language to describe what they were doing that has such a confusingly similar meaning outside their field.

      --
      "Lawyers are for sucks."
      - Doug McKenzie
    64. Re:Bizarre sequences of random numbers by Chester+K · · Score: 1

      Anyway, my idea for an open source number generator is to have people on slashdot post the first number that comes to mind in this thread. I don't know if it could get more random.... (patent pending)

      69


      42

      --

      NO CARRIER
    65. Re:Bizarre sequences of random numbers by ostone · · Score: 1

      if all ten digits are possible, then that is 10^6 possible combinations. Because all combinations in this sequence are unique, I can assume it is 1/(10^6). So, given that I have choosen a specific desired sequence, I have a probability of exactly one in a million. I took discrete mathmatics last semster. So, unless something exploded in my head between now and then, I should be right about this. However, the first comment still holds true: this sequence is just as likely as any other. What you are doing is natural human pattern finding. The probability that you will get a set with a pattern in it is probably not too low. What you need is the set of all sequences that will be recognized as patterns. Now the size of that set is divided by a million... although this is beginning to sound like my teachers proof that there are no boring integers. If you take all of the boring integers and place them in the set of boring integers, which will have both a minimum and maximum integer. Certainly these integers are interesting so they don't belong in the set... well you get the picture.

      --
      Remove *your pants* to send me email.
    66. Re:Bizarre sequences of random numbers by Just+Some+Guy · · Score: 2, Informative
      I understand what you're trying to say, but you're wrong. Nature is random. Heisenberg showed that not only can you not predict the occurrence of an event, but that if you get enough information to try to do so, then the event itself will happen differently than you would predict - and the difference is also random.

      Look at atomic decay. You can predict fairly well how fast a large sample of a radioisotope will decay, but it is flat-out impossible to predict when any given atom will decay. That's about as random as you can get.

      --
      Dewey, what part of this looks like authorities should be involved?
    67. Re: Bizarre sequences of random numbers by Black+Parrot · · Score: 4, Informative


      > What always bothers me is when people want uniformly distributed random numbers. I know why its valuable but if you make sure that your numbers are uniformly distributed they aren't really random anymore.

      Sure they are. There's a difference between "randomness" and "distribution". You could have random numbers with a uniform distribution, a gaussian distribution, an exponential distribution, some bimodal distribution, etc., and they would still be random.

      But it's really convenient to have a RNG with a uniform distribution, since you can easily transform numbers drawn from that distribution to some other arbitrary distribution by taking f(x) with the desired f() and an x drawn from the uniform distribution.

      BTW, "uniform distribution" doesn't mean that you get the same number of occurences of each number in the range; it only means they have the same probability of occuring. (OK, that distinction gets a bit tricky when you're talking about pseudo-random numbers, but let's pretend we're talking about genuinely random numbers.)

      > Its just as likely to get all 0's or all 1's as it is to get any other single random number and yet 9 out of 10 people would probably say all 0's or all 1's isn't a random result, even when it comes from a random source.

      Yeah, but that's because we intellectually identify those numbers as "special", when they aren't really. For instance, people would probably think the numeric representation of their birthdate was special, though someone else might think it a perfectly random number. Strictly speaking, randomness has nothing to do with the importance humans assign to the result.

      > I guess the big misunderstanding is that once you have a number, its not random, you know what it is.

      Yes, the a posteriori probability of an event, given that the even happened, is always one. Pseudoscientists are fond of constructing probability arguments that they think should be convincing, not realizing that they are just painting a bull's-eye around wherever the arrow happened to strike.

      > A random pattern is probably better defined as one you can't predict, and once you have it, recreating it with the same process is not likely.

      For most uses we would want to say that "you can't predict" means that all possible patterns are equally likely, i.e. that betting on one has the same expected pay-off as betting on any other, at least if we're talking about a uniform distribution. And as for re-creation, we usually want sequentially generated patterns to be independent, i.e. that knowing what has been produced in the past does not help you predict what's coming up next. In particular, if your generator produced pattern z last time, the probability of producing z next time is still the same as the probability of producing any other pattern.

      Any time there is a preferred way to bet, whether considering the past or not, it means that your generator is biased in ways that you probably don't want for a basic RNG. If you want biases, introduce them by filtering the number produced by a RNG with a uniform distribution.

      --
      Sheesh, evil *and* a jerk. -- Jade
    68. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      554

    69. Re:Bizarre sequences of random numbers by saskwach · · Score: 1

      That's the problem with mathematicians, no perspective. If it were i, everyone would get all confused when they try to work with phasers (no, not the star trek kind).

    70. Re:Bizarre sequences of random numbers by letxa2000 · · Score: 2, Funny
      I think the best way to generate random numbers is to somehow "digitize" SCO's daily claims. They seem about as random and non-predictable as any random number generator I've seen. :)

    71. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      er, phasors :oP

    72. Re:Bizarre sequences of random numbers by MarkGriz · · Score: 2, Funny

      "idiot = i*i*dot = -dot"

      Wasn't that the inspiration for slashdot?

      "MinusDot??? That's a stupid name"
      "ok, how about Slashdot"
      "Yeah, much better."

      --
      Beauty is in the eye of the beerholder.
    73. Re:Bizarre sequences of random numbers by Ed+Avis · · Score: 2, Informative
      Huh? Pseudo-random numbers are those that follow a sequence you can predict, if you know how the generator works and what its internal state is.

      Random numbers are those you cannot predict. I'm no physicist, but I think quantum theory says that many natural events occur randomly - that is, there's no way of knowing which slit a photon will 'choose' to go through, and it isn't particularly 'based on' anything except a 50/50 probability.

      All numbers generated are based on something, so they'll never be truly random.

      So then if all current sources of numbers are not random, what _would_ meet your definition of the word 'random'?
      --
      -- Ed Avis ed@membled.com
    74. Re:Bizarre sequences of random numbers by SeanAhern · · Score: 1
      The system of balls bouncing around in a drum is fundamentally a chaotic system. The progression of a chaotic system is so closely tied to the initial state of the system that the final result in all cases cannot be determined unless you know the initial state with infinite precision.

      There are a number of features of the "balls bouncing in drum" that cannot be known to infinite precision:
      • The position of the balls and thje cage: Heisenberg's uncertainty principle.
      • The velocity/momentum of the balls and the cage: Same principle
      • The wear patterns of the balls and the cage
      • The flow, density, temperature of the air that the balls fall through.
      I'm sure you can come up with more.

      The basic problem is that it's a chaotic system. While there is some degree of predictibility, it's only for a very short amount of time. After that, chaos makes it completely unpredictible.
    75. Re:Bizarre sequences of random numbers by Ed+Avis · · Score: 5, Insightful

      A number is not 'random'. There is no test you can apply to determine that 25 is random, while 44 is not. Randomness is not a property of individual numbers, it is a property of the number generator or source.

      So when people say 'a random number' they really mean 'a number drawn from a random source'.

      You're talking about Kolmogorov complexity, I think - the complexity of some data is the length of its shortest description. But even there you have to agree what language the description will be in. You could define a language where 18282822 is represented by the symbol 'A' and any other number is represented by itself.

      --
      -- Ed Avis ed@membled.com
    76. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 1, Interesting

      THis is not true. It's a founding tenant of quantum physics that quantum fluctuations are truly, and completely random. Therefore any system that can be influenced by microscopic quantum fluctuations will have some element of true randomness. This is why people like chaotic systems for this, where a little tiny push wildly changes the results. That allows the true randomness from the microscopic world to seep in and eventually produce truly random numbers.

      -Tyler
      tjw19@columbia.edu

    77. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      better to use md5 or some other hash of comments (including the -1 ranking) that way you don't have to let the readers know they are being used for a random number generator. and possibly toss in time till server is /.ed, number of spelling error in the story and the banner ads just for good messure.

    78. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      That 1GHZ webserver could better be put to use serving porn.

    79. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      You don't know if some_string's length is modified inside the loop, so those calls may actually be necessary. They probably aren't. Just nitpicking.

    80. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 1, Informative

      If you set out with the assumption that such patterned results must never occur, then you have biased your generator against certain results, and your generator is therefore, BY DEFINITION, not random.

      Such a generator would still be random, but it would not produce a uniform distribution anymore. Uniform distribution is an important property of a random number generator in most applications, but not required in others, like PIN generation or choosing the combination to one's luggage.

    81. Re:Bizarre sequences of random numbers by rpi1995 · · Score: 1

      I would actually argue:

      i=square root of -1
      I=current

      As a power engineering student, I used both "i" and "I" continuously.

    82. Re:Bizarre sequences of random numbers by Jack+Schitt · · Score: 2, Funny

      here you go... totally random... type your credit card number and social security number into the forum. wait a couple of months. then look at the dollar amounts on your credit statement...

      --
      This message brought to you by Jack Schitt's Previously Shat Shit
    83. Re:Bizarre sequences of random numbers by Notre97 · · Score: 2, Funny
    84. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      Well, this dilbert strip says it all;

    85. Re: Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      Yeah, but that's because we intellectually identify those numbers as "special", when they aren't really.

      Actually, those numbers are special in a particular way that makes them not random. They have a low Kormalagorov Complexity, so they're highly compressable. Good random data should be uncompressable.

    86. Re:Bizarre sequences of random numbers by mblase · · Score: 1

      *Universe collapses.*
      *Universe reemerges even more weird than before.*
      Why is /. still in it?


      Because this has already happened once before.

    87. Re:Bizarre sequences of random numbers by kasparov · · Score: 1

      Reminds me of a Dilbert comic... found a link to it.

      --
      There's no place I can be, since I found Serenity.
    88. Re: Bizarre sequences of random numbers by Black+Parrot · · Score: 2, Insightful


      > > Yeah, but that's because we intellectually identify those numbers as "special", when they aren't really.

      > Actually, those numbers are special in a particular way that makes them not random. They have a low Kormalagorov Complexity, so they're highly compressable. Good random data should be uncompressable.

      Actually it's the representation of those numbers that is compressible, which is irrelevant to the randomness of a sequence of numbers.

      For instance, the number 1,111,111,111 has a compressible base-10 representation, but if you were working in base 1,111,111,112 it would have an atomic, uncompressible representation. And that distinction is irrelevant to the question of how often it shows up in a random sequence.

      --
      Sheesh, evil *and* a jerk. -- Jade
    89. Re:Bizarre sequences of random numbers by Elwood+P+Dowd · · Score: 1

      There are several potential goals for random number generators. One is uniform distribution (coin toss could generate 1,1,1,1,1 just as likely as 0,1,1,0,1) and the other is uncompressability. In my (intro) math for comp sci class, they defined "random number" to mean a number is "impossible to compress and store in a smaller amount of space than the number itself."

      Please, anyone, feel free to correct me. I took comp sci because I was bad at math.

      P.S. Yes, I'm joking about that last part.

      --

      There are no trails. There are no trees out here.
    90. Re:Bizarre sequences of random numbers by jafiwam · · Score: 1

      Hey! That's the combination on my luggage!

    91. Re:Bizarre sequences of random numbers by NonSequor · · Score: 2, Informative
      For those who don't know, the Kolmogorov complexity of some mathematical object with respect to a given universal computer (ie some sort of machine or language that is Turing complete) is the length of the shortest program for that computer which outputs the object. Actually, when working with Kolmogorov complexity, the universal computer being considered isn't really important. Since you can use any universal computer to emulate any other universal computer, then if you know the Kolmorogov complexity of an object under one computer is K then you know the Kolmogorov complexity of the object under another computer is less than or equal to K+c (where c is the size of a program to emulate the first computer in the second one).

      These constants aren't of much concern since they are independent of the objects being studied (that's what makes them constants!). No one actually tries to figure out what exactly the Kolmogorov complexity of an object is, since it would be a total bitch to try to prove that a given program is the shortest one there is and as a result of the halting problem, no program can compute the Kolmogorov complexity of an arbitrary object. Instead, one generally tries to find an upper bound on the Kolmogorov complexity of an object which is valid for any computer.

      --
      My only political goal is to see to it that no political party achieves its goals.
    92. Re:Bizarre sequences of random numbers by Ed+Avis · · Score: 2, Informative

      When working with K. complexity in general the universal computer doesn't matter much, but if you try to pick a particular number or message out of the air and work out the complexity of that it does matter. You could define a Turing machine with one extra instruction that prints out the complete works of Shakespeare, and then the complexity of that particular string would be very low. But such a special machine would not help you at all if trying to reduce the complexity of strings in general. The point is that you have to be very careful when picking a single number and trying to talk about complexity or randomness after the fact. Normally you'd worry about these things for numbers to be drawn from a particular distribution, not just one number you picked out of a hat (with also the liberty of picking a particular computational model out of a hat).

      --
      -- Ed Avis ed@membled.com
    93. Re:Bizarre sequences of random numbers by aafiske · · Score: 1

      Actually, people are _terrible_ at coming up with random numbers. We did an experiment in a math class once where we did some analysis on random numbers that we came up with, and random numbers that were generated by flipping a coin, and every time it was obvious which was generated by humans and which one wasn't.

      The main points that humans screw up is thinking odd numbers are more random, and having an aversion to 'streaks'. For example, a person will almost never put ten 'tails' in a row, but in a real set of results, it's pretty likely to show up at some point. If you know what humans are bad at, you can make it a bit harder to figure out, but not in the long run.

    94. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      Anyway, my idea for an open source number generator is to have people on slashdot post the first number that comes to mind in this thread. I don't know if it could get more random.... (patent pending)

      it would look something like this:
      42424244422242...

    95. Re:Bizarre sequences of random numbers by Celvin · · Score: 1
      Random numbers are those you cannot predict. I'm no physicist, but I think quantum theory says that many natural events occur randomly - that is, there's no way of knowing which slit a photon will 'choose' to go through, and it isn't particularly 'based on' anything except a 50/50 probability.
      This is very true. Heisenbergs uncertainty principle states that you cannot know both the position and the momentum of a particle (i.e. photon) simultaneously with complete certainty. For an optical sensor this means that there is no way of knowing both exactly where a photon wil hit or when or with what enery. This must qualify as random, or nothing do.


      -C
      --
      -- If ignorance is bliss, why aren't there more happy people?
    96. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      DEADBEEF

    97. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      actually, a "truely" random number means you just pull it out of your @$$; you know nothing about what that number *should* be

      a uniform distribution of pseudo-random numbers means you know at least a sequence of numbers should conform to a uniform distribution -- aka you know something about what the sequence should look like.

      randomness is only used for stuff we don't understand (modeling) or don't want to understand (encryption)

      look for CLIGEN (should be a link on horizon.nserl.purdue.edu -- Chuck made some improvements in this exact area to this soil erosion model)

    98. Re:Bizarre sequences of random numbers by istartedi · · Score: 1

      In fact, if the sequence [1,2,3,4,5,6] didn't occur then something would be wrong. The "expected value" for the occurance of this is one in a million, assuming that 0-9 is the range we are talking about for each element. That may sound like long odds, but when you grab millions and millions of numbers you expect to see it 1s and 1s of times.

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    99. Re:Bizarre sequences of random numbers by LiquidCoooled · · Score: 1

      ...and I'm sure a few people would post links to a certain big gaping 0.

      --
      liqbase :: faster than paper
    100. Re:Bizarre sequences of random numbers by LiquidCoooled · · Score: 1

      I once read an amazing article about encryption and random events.
      2 People wanting to communicate securely have to pass keys to each other.
      However, the keys that they pass are not random in the normal sense, they are a list of URL's.

      At the time I want to send a message, I notify my friend of a time, and at that time, our computers visit those links and build up a private key of the contents of the sites.

      Governments would be incapable of reconstructing the key without storing every byte of every webpage (kinda like a super wayback machine).

      With so many blogs and constantly changing sites around this I feel would make an ideal basis for truly random numbers.

      I also read about a satellite cluster which could supply random numbers in a similar way to the GPS service.

      --
      liqbase :: faster than paper
    101. Re:Bizarre sequences of random numbers by owlstead · · Score: 1

      In the same way: it is impossible to prove if any sequence of number has been produced by a random number generator. Sure it could put out 1, 2, 4, 8, 16, 32, 64, 128, 256 (you know the drill) but that could just have been coincidence.

      If you take enough difficult to predict variables, even the paranoid should not be afraid of pseudo random numbers generated this way. I for one have not seen too many security devices with a lava lamp included :)

      Warper

    102. Re:Bizarre sequences of random numbers by bluGill · · Score: 1

      True the sequence 1,2,3,4,5,6 can be given by a random number generator. However if an unknown random number generator gave me that sequence I would give it serious question, or find a different one in lazyness. That sequence is just as likely as any other (assuming a bunch of details that I will ignore) in a proper generator, but a flawed generator appears highly likely to generate that sequence, while in a good one the odds of it are fairly low. Thus I filter random number generators by assuming that if it looks random and they claim random, then it probably is, while if it looks non-random but they claim non-random they probably screwed up. Considering how difficult random number generators are to make, it isn't an invlaid assumption.

    103. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      42 ... uh, what was the question

    104. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      You could use other measurable slashdot phenomena, such as:

      -- number of votes for Cowboy Neal in the latest poll
      -- number of Natalie Portman mentions in comments to most recent article
      -- number of seconds from article posting to slashdotting of the linked site
      -- number of duplicate articles in the last 24 hours
      -- number of spelling flames in the past hour

      The possibilities are limitless, it's practically white noise.

    105. Re:Bizarre sequences of random numbers by kasperd · · Score: 2, Interesting

      There is no test you can apply to determine that 25 is random, while 44 is not.

      Read the definition again, it actually does make some sense. The number 7^99 is not a random number because the description I just wrote is a lot shorter than the number itself. The number 61070941271139577504711647465813663675921309412553 1498031084978534953383702400017179 OTOH has the same length as the previous number, but I have no shorter description of this number. In fact I did get it from a random source, but I have no way to prove that this is a random number.

      --

      Do you care about the security of your wireless mouse?
    106. Re:Bizarre sequences of random numbers by afedaken · · Score: 1

      But we've already got that! And slashdot is nothing like shakespear!

      --
      If there's a castle floating upside down in the sky, then there's a castle floating upside down in the sky.
    107. Re:Bizarre sequences of random numbers by Kopretinka · · Score: 1
      The thing about the sequences 1,2,3,4,5,6 and 4,17,30,33,53,61 is that while they are both equally probable, the first is pretty while the second isn't, so it's basically the same as 3,18,31,34,55,60 to anyone.

      There are so bloody few pretty sequences compared to the normal, randomly chaotic ones. That's what makes 1,2,3,4,5,6 look so improbable.

      --
      Yesterday was the time to do it right. Are we having a REVOLUTION yet?
    108. Re:Bizarre sequences of random numbers by craig2787 · · Score: 1

      Holy was that ever not funny. It doesn't make any sense! WTF did I type that? "44BSD." ROFL! Oh, thats a laugh and a half! Stop, you're killing me!

    109. Re:Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      42 ....

    110. Re:Bizarre sequences of random numbers by Ed+Avis · · Score: 1

      Yes, but you are assuming a particular language used for the descriptions. I can also show that
      61070941271139577504711647465813663675921309 412553 1498031084978534953383702400017179
      is not random by giving a shorter description of it: 'the number mentioned in kasperd's Slashdot post'.

      Besides, it's not clear what correspondence your definition has with the randomness of the source. A random source uniformly distributed in [0, 1000000) is just as likely to produce 418261 as to produce 999999. So any criterion you applied to an individual number would tell you nothing about the randomness of the source. Unless you assume that possible non-random sources have a particular tendency to produce 999999 more or less often than other numbers.

      --
      -- Ed Avis ed@membled.com
    111. Re:Bizarre sequences of random numbers by anpe · · Score: 1

      Actually, despite being unable to create a better theory, Einstein as always been questioning this "true" randomness.

    112. Re:Bizarre sequences of random numbers by RockBob · · Score: 1

      In the context of cryptography, a uniform distribution of numbers can be seen in a weakness of the cryptosystem. Despite not being able to predict the numbers in a sequence, the numbers will all exsist within a limited domain thus making a brute-force attack much more practical.

      --
      I know, I know... I need to learn a little English.
    113. Re:Bizarre sequences of random numbers by cakoose · · Score: 1

      Umm...how?

      Numbers that aren't uniformly distributed will exist in a smaller range than those that are uniformly distributed. A brute force attack would be easier against an RNG that produced numbers that aren't uniformly distributed.

    114. Re:Bizarre sequences of random numbers by Just+Some+Guy · · Score: 1
      He very well might've been. Einstein, however, held any number of beliefs generally believed to be incorrect by modern physicists. For example, he was a firm believer in the static universe model to the point that he added magical constants to some of his theories to explain why everything only seemed to be moving away from everything else.

      I only minored in physics, so I'm certainly not anyone you should trust as authoritative. For more information, read Richard Feynman's "Six {,Not-so} Easy Pieces". I picked it up for some summer reading last year and learned more than I expected about how things are thought to be.

      --
      Dewey, what part of this looks like authorities should be involved?
    115. Re:Bizarre sequences of random numbers by cakoose · · Score: 1

      Yes it is. Even Google says so.

    116. Re:Bizarre sequences of random numbers by grikdog · · Score: 1
      There are better ways to get Monte Carlo sequences. Here's my recipe:
      1. Download 5000 images from alt.binaries.playboy newsgroup. Do NOT use penthouse or hustler images -- the backgrounds tend to be excrutiatingly uninteresting and non-random. Playboy's backgrounds, on the other hand, tend to include a high-quality, military grade of random textile folds, random foliage, random architectural decay, random reflections in windows, etc.
      2. Archive the images using tar and gzip.
      3. Encrypt the resulting archive using ccrypt, which employs the AES encryption standard (Rijndael).
      The resulting file is effectively random, and should be several megabytes long.
      --
      ``Tension, apprehension & dissension have begun!'' - Duffy Wyg&, in Alfred Bester's _The Demolished Man_
    117. Re:Bizarre sequences of random numbers by Physics+Dude · · Score: 1
      ... while if it looks non-random but they claim non-random they probably screwed up.

      That's funny. I'd be more inclined to believe them if they claimed they had a non-random generator. ;)

      printf "%d\n", $i++ while 1;

    118. Re:Bizarre sequences of random numbers by MacJedi · · Score: 1
      You have that backwords. With any distribution OTHER than a uniform distribution (eg gaussian) you have much more of prior information you can leverage. For example, with the just first two moments of a gaussian distribution you can describe it completely. You still can't predict the next number to come out, but you CAN use this prior information to make a good of the next number that will come up. With a uniform distribution you will NEVER be able to guess the next number better than chance since no number will ever be more likely to come up with than any other number.

      (PS. by "limited domain" did you perhaps mean uniform bounded between, say, zero and one? That information could certainly be exploited, but in general we can't make that assumption...)

      /joeyo

      --
      2^5
    119. Re: Bizarre sequences of random numbers by Anonymous Coward · · Score: 0

      Pseudoscientists are fond of constructing probability arguments that they think should be convincing, not realizing that they are just painting a bull's-eye around wherever the arrow happened to strike.


      Dont diss the economics community.. ;)

    120. Re:Bizarre sequences of random numbers by malfunct · · Score: 1

      What pops into most people I've talked to when they hear that numbers are from a uniformly distributed random source is that in a reasonably large output set, all possible outputs are hit about the same number of times. If they see "clumping" they assume its not random and it is not uniformly distributed.

      --

      "You can now flame me, I am full of love,"

    121. Re:Bizarre sequences of random numbers by MacJedi · · Score: 1
      (To lamely reply long after the original thread had waned...)

      Even if the random numbers are pulled "out of your @$$" you can find out what distribution a they come from (let's ignore non-stationarity for a moment.) You may need to sample a long sequence of numbers from the random source but you can always build up a distribution.

      Now, this distribution may be one of the well known ones (uniform, gaussian, binomial, etc.) or it may be completely exotic and you have to discribe it in a piecewise manner-- But you can always describe it! And once it is described you can make estimates as to the most likely output of the random number source.

      non-stationarity is more tricky as the distribution from which the random numbers is coming from changes with time, but you can still handle this by modeling the process behind the non-stationarity.

      /joeyo

      --
      2^5
    122. Re:Bizarre sequences of random numbers by dtws · · Score: 1
      • 420
  2. how about by Phosphor3k · · Score: 0, Redundant

    128.6431

  3. I can see it now... by Anonymous Coward · · Score: 5, Funny

    "But, sir, I need this lava lamp for my cubicle! It's required for encrypting our company's secrets. I also need the black light, for, uh... stopping pop-ups."

    1. Re:I can see it now... by Anonymous Coward · · Score: 0

      I have a black light and a lava lamp in my office. My boss brings papers into my office that are glowing from the black light and he doesn't seem to notice. I tried putting several alien pictures up as well, but no one seems to care. I listen to the butthole surfers with the subwoofer turned up. What more can I do?

    2. Re:I can see it now... by redfenix · · Score: 1

      Where do you work and when can I start?

      --
      "It's a very tangled subsystem." --Windows kernel guru
    3. Re:I can see it now... by Anonymous Coward · · Score: 0

      A six foot party bong comes to mind...

    4. Re:I can see it now... by Anonymous Coward · · Score: 0

      or a kiddie pool filled with margarita

  4. truly random numbers in a variety of formats by hackstraw · · Score: 3, Funny

    ... "truly random numbers in a variety of formats" ...

    Think about that for a second.

    1. Re:truly random numbers in a variety of formats by Anonymous Coward · · Score: 0

      Ok, did that. What gives?

    2. Re:truly random numbers in a variety of formats by Saltine+Cracker · · Score: 1

      Should read...

      "truly random numbers in random formats"

    3. Re:truly random numbers in a variety of formats by Anonymous Coward · · Score: 0

      Yeah. What's the big deal? I prefer my random numbers in base-10 ASCII comma-separated files. Others may prefer them in raw binary form, concatenated together. Yet others may prefer them in base-16 ASCII one-per-line. What's the big deal?

  5. PiPi by Anonymous Coward · · Score: 0

    Pi! Pi! Pi! Pi! Pi! Pi!

    3.14568238925

    1. Re:PiPi by mjmalone · · Score: 1

      uh, you must be a business major.

      3.1415926535...

    2. Re:PiPi by The+Mayor · · Score: 1

      Or, almost Pi!

      (did you transpose the '6' and '8'? I always remeber Pi ~= 3.14159, not 3.14157)

      --
      --Be human.
    3. Re:PiPi by Anonymous Coward · · Score: 0

      How I like a drink, alcoholic of course, after the heavy lectures involving quantum mechanics...

    4. Re:PiPi by red+floyd · · Score: 1

      Pi = 0x3.243F6A (hex)
      = 03.11037552 (octal)

      --
      The only reason we have the rights we have is that people just like us died to gain those rights. -- Cheerio Boy
    5. Re:PiPi by generic-man · · Score: 2, Funny

      Pi is exactly 3!

      --
      For more information, click here.
  6. Sourceforge Copy by Anonymous Coward · · Score: 5, Informative

    Site's already /.'ed.

    You can nab the code off sourceforge though:

    http://sourceforge.net/projects/lavarnd

    1. Re:Sourceforge Copy by LostCluster · · Score: 1

      Is the number of page hits before a slashdotting also a random variable?

    2. Re:Sourceforge Copy by Anonymous Coward · · Score: 0

      Where can I download the lava lamps?

  7. What the?! by Anonymous Coward · · Score: 1, Funny

    That's the combination to my luggage!

  8. some one has to say it by Anonymous Coward · · Score: 0

    1337 :)

  9. Analog is the key by whatch+durrin · · Score: 3, Interesting
    Isn't the key to generating a truly random number having an essentially analog source?

    That being said, could you not measure the exact voltage on a CPU, or the ambient temperature to several decimals, or other environmental conditions, then use that as a base?

    --
    ***
    Radio Shack. You've got questions...we've got blank stares(TM).
    1. Re:Analog is the key by sporty · · Score: 1

      Can't. All your base are belong to us :)

      But the more you can add to the entropy pool, combining as many factors, the better. You can at least monitor cpu temperature. I wouldn't be surprised if you can monitor power usage and other things. Maybe your audio port, or mic jack.

      --

      -
      ping -f 255.255.255.255 # if only

    2. Re:Analog is the key by Anonymous Coward · · Score: 0

      I think you would have a hard time generating a truely random number using ambient temperature or other enviromental conditions. If the person trying to guess the number can figure out when and where it was generated they could eliminate some of the guessed they would otherwise need to take.

    3. Re:Analog is the key by fishybell · · Score: 1
      could you not measure the exact voltage on a CPU, or the ambient temperature to several decimals, or other environmental
      You could if the voltages/temperatures/etc were swinging widly around at random intervals.

      Another problem lies in the computer's ability to accurately detect minute enough changes. I seriously doubt that the computer's internal sensors are accurate enough to produce truly random results with their deterministic nature.

      --
      ><));>
    4. Re:Analog is the key by Gorbaw · · Score: 0

      Right, and actually, some random numbers are generated with hardware "behaviour", like with the cd-rom drive, cpu or espacially the mouse-movement.

      Usually this is enough for private users, but when it comes to serious,
      1. the numbers have to be that huge, that even a "hardware number" has to be increased by an algorithm and,
      2. The ennemy could always know, which hardware you are using, and so at least decrease his list of possible numbers

    5. Re:Analog is the key by Anonymous Coward · · Score: 0

      One of the problems with quality random number "generation" is that most methods are slow. Cryptographic applications need lots of randomness, not just a trickle of a few random bits per second. A CCD-chip is a collection of many sensors, so this method multiplies the amount of randomness which can be gathered in a fixed timeframe (compared to a single source of entropy).

    6. Re:Analog is the key by nat5an · · Score: 1

      Of course, the fallacy is that there is any such thing as a "truly random number." They've just found a good way to seed a psuedo random number, with a source that is really rather unpredictable. Exact voltage or ambient temperature could work as well (I'm sure someone's tried them), but I think the contention is that this is less predictable and therefore more random, than things that have been done before.

      --
      Head down, go to sleep to the rhythm of the war drums...
    7. Re:Analog is the key by Saltine+Cracker · · Score: 1

      Measuring temperature is difficult, since the measurement device will also be generating heat, if it has electronic parts.

      It is possible to generate a very accurate temperature reading with out using electronics in the sensor... I did research in college on using sapphire based fiber optic lines and interferometry techniques to measure the variance in signal over the fiber, with the fiber being exposed to variant temperatures. Very cool project.

    8. Re:Analog is the key by 4of12 · · Score: 1

      fallacy is that there is any such thing as a "truly random number."

      You haven't been following the stock market much lately, have you?

      --
      "Provided by the management for your protection."
    9. Re:Analog is the key by temojen · · Score: 1

      Strangely, my computer runs consistantly at 42 (C) when tha ambient temperature in the room is between 20-28 (C). I have a temperature controlled fan.

    10. Re:Analog is the key by hackstraw · · Score: 2, Interesting

      Isn't the key to generating a truly random number having an essentially analog source?

      Not necessarily. Its best to have some kind of chaotic source. Also, being that the world we live in is analog, not digital, aren't all sources analog in nature?

      An interesting source for chaotic conditions would be weather. If one could pick a seed from an arbitrary date in history and a seed for some arbitrary extra weather condition (increase/decrease temp, humidity, pressure, etc) and feed that back into a weather simulator, you should get some nice chaos pretty quickly.

    11. Re:Analog is the key by MxTxL · · Score: 2, Interesting

      Isn't the key to generating a truly random number having an essentially analog source?

      Well, no. Just a strict analog source would be good if you could poll it at random intervals. Unfortuantely, most regular analog sources follow a sine curve when you get to looking closely enough. Temperature will tend to fluctuate within a X of a degree around a certain temperature. No matter what resolution you look to, it will do the same thing, go a little up, and a little down. Basically following a sine curve. Polling this at random to some number of decimals would be fine, but you can't define 'at random'... which is the whole point. If i told my computer to get the temperature at regular intervals, it would get predictable numbers.... and you can't use random intervals, if you had those you wouldn't have to go through this!

    12. Re:Analog is the key by wideBlueSkies · · Score: 1

      >>You can at least monitor cpu temperature. I wouldn't be surprised if you can monitor power usage and other things

      OK, so imagine for a second that you're a bad guy intent on cracking an encrypted file or something.

      If you know that the encrypter was using "CPU temprature" based encryption, and having a table of CPU's and heat output, how hard would it be to brute force crack the encryption. A range of tempratures within say 50 degrees, down to the 7th decimal place isn't really a lot of numbers for a seed.

      So the Pentium 4 2.2ghz northbrige operates at a temp of between 125 -> 150 degrees. Lets plug those 2 values into our handy-dandy cracker tool as low and high seed values and have a go at looking for goodies:

      1. Figure out that encryption is processor heat based.
      2. Plug temprature variance for common processors into cracker tool.
      3.cpu cycles(????)
      4.PROFIT!!

      wbs.

      --
      Huh?
    13. Re:Analog is the key by darien · · Score: 1

      I've never understood why you can't just say to the user "press any key for any amount of time", see how many clock cycles they hold the key down for, and then use the least significant n digits backwards. For extra fun, hash the result with the time between the message appearing and the key being pressed. Seems pretty unpredictable to me - am I missing something obvious?

    14. Re:Analog is the key by FroMan · · Score: 2, Insightful

      Actually, I think you would wind up using only a single bit at the least significant bit end of the value of the temp. You wouldn't use the whole value.

      This of it this way:

      Temp:
      00110101.10100111
      00110101.11000101
      001 10101.10100110
      00110101.10110101
      00110101.101010 10
      00110101.10100010
      00110101.10101101
      00110101 .10110101

      Each of the temp reading wouldn't be used, but your random values would be

      11010011

      You throw away all the extra data at the full value and only take the least significant bit as it would be the least stable of the values.

      --
      Norris/Palin 2012
      Fact: We deserve leaders who can kick your ass and field dress your carcass.
    15. Re:Analog is the key by dlakelan · · Score: 1

      Weather simulators are chaotic (ie. small changes produce large fluctuations over time) but for the short term they are very predictable, ie. you can predict the weather reasonably well for 3 days in advance.

      What you want is a random number generator that gives you a sequence where each new number is completely unpredictable even if you know the entire previous sequence.

      --
      ((lambda (x) (x x)) (lambda (x) (x x))) http://www.endpointcomputing.com a scientific approach to custom computing.
    16. Re:Analog is the key by JesseL · · Score: 1

      Let's see you predict when a particle is going to come flying out of a radioactive sample then. If that's not truly random, then maybe you're right and nothing is.

      --
      "Prefiero morir de pie que vivir siempre arrodillado!"
    17. Re:Analog is the key by Anonymous Coward · · Score: 0

      No matter what resolution you look to, it will do the same thing, go a little up, and a little down

      That makes it a chaotic source. The problem is to remove known influences from the sampling to end up with random bits only. Let's say I have a sine wave, about 1Hz but modulated by uncontrollable other influences. It would be foolish to sample every 1.1 seconds and treat the results as random numbers. But if I sample every 1.1 seconds and only look at the last digit of a high precision measurement, then it means I measure "chaos" and throw away non-random signal components.

    18. Re:Analog is the key by sporty · · Score: 1

      You use it as part of an entropy pool, not as your soul source of entropy.

      So using the CPU would be one of many factors.

      --

      -
      ping -f 255.255.255.255 # if only

    19. Re:Analog is the key by MxTxL · · Score: 1

      That makes it a chaotic source. The problem is to remove known influences from the sampling to end up with random bits only. Let's say I have a sine wave, about 1Hz but modulated by uncontrollable other influences. It would be foolish to sample every 1.1 seconds and treat the results as random numbers. But if I sample every 1.1 seconds and only look at the last digit of a high precision measurement, then it means I measure "chaos" and throw away non-random signal components.

      On an unmodulated wave running at 1hz sampling at 1.1 second intervals is effectively the same as sampling at 1 second intervals. If you sample at 1 seconds, your result will be (no matter how precise your instruments) the same each time you poll it. On 1.1 secs, same deal except it takes 10 seconds before the numbers start repeating themselves instead of 1. The same is true for any other polling interval you might choose. So polling at 1.1 is equivalent to polling at 1 and it's the same as polling at 4.325999. With some statistical analysis... it's even the same as polling every 2.35e^x... or any other formula you can think of.

      Of course, things are different on a modulated wave, but you are effectively depending on the source of the modulation. You say 'uncontrollable other influences' which is a blanket enough statement to make your final numbers random, but 'uncontrollable other influences' themselves have to be random to make a modulated sine wave itself random. Now, if you have a source of uncontrolled randomness, modulating it to a sine wave is pointless, since you have randomness to begin with.

    20. Re:Analog is the key by Anonymous Coward · · Score: 0

      I chose 1.1s because in all likelihood you're not going to be in perfect sync with the external signal. However, it should be obvious that this desynchronization does not produce randomness.

      You say 'uncontrollable other influences' which is a blanket enough statement to make your final numbers random, but 'uncontrollable other influences' themselves have to be random to make a modulated sine wave itself random.

      True randomness enters the game at the quantum level but is carried over and magnified to the measured signal. See chaos theory.

      if you have a source of uncontrolled randomness, modulating it to a sine wave is pointless, since you have randomness to begin with.

      That might not be your choice. Many natural signals which are used as source of randomness have some sort of macroscopic periodicity, as you noted correctly. The chaotic behaviour of ambient temperature does not mean that simple measurements produce a usable random number sequence. The key is to identify the part of the signal which has the desired properties: random, uniform distribution.

    21. Re:Analog is the key by MxTxL · · Score: 1

      The key is to identify the part of the signal which has the desired properties: random, uniform distribution.

      Well, that's just the point. The resolution of the device you use has to be up to the standards of randomness you want. Using ambient temperature to one-tenth of a degree isn't very random... to a hundredth is a little more, to a thousandth a little more... etc. etc. But you are only as random as your machine is precise.

      The question is if you can make an ambient temperature measurement device that is precise enough to outperform other techniques. It is possible to measure 'how random' a set of numbers is and it's possible to compare these measurements. Most of the time numbers generated from sources that follow a sine wave aren't random enough to outperform numbers from non-sinusodial sources like a lava lamp. Inexpensive electronics just don't have the precision.

    22. Re:Analog is the key by Anonymous Coward · · Score: 0

      Your original argument was that, in order to obtain random numbers from most analog sources, one would have to choose random sampling intervals. That is not true. The randomness is inherent in practically all natural signals, at constant sampling intervals. There are signals which provide more randomness and others which are mostly deterministic when sampled with cheap hardware. The principle is the same though.

    23. Re:Analog is the key by Stunning+Tard · · Score: 1

      You could use ping time results to worldly servers. Is that digital or analog? Or would that be a faulty seed?

    24. Re:Analog is the key by anthonyrcalgary · · Score: 1

      That would provide very high quality random numbers. The analog world creeps in all over the place. The analog world affects the digital equipment, and people use the Internet. That's a pretty good source, I think.

      Of course, an attacker can tap your network and find out what the ping times are as well. They're very hard to predict, but the attacker wouldn't have to predict them.

      --
      When someone might yell at me, it has to be OpenBSD.
    25. Re:Analog is the key by Anonymous Coward · · Score: 0

      As far as I can tell from actually browsing their site, they don't use a pseudo random number generator, nor do they need one. They just pump the appropriately converted video through some hashes and XORs. There is more than enough randomness without needing to seed an algorithm.

      I think it is very cool.

  10. You call that Pi? by Anonymous Coward · · Score: 2, Funny

    That ain't Pi! This is Pi!

    3.141592653589793238462643383279502884197169399375 1058209749445923078164062862 08998628034825342117067982148086513282306647093844 6095505822317253594081284811 17450284102701938521105559644622948954930381964428 8109756659334461284756482337 86783165271201909145648566923460348610454326648213 3936072602491412737245870066 06315588174881520920962829254091715364367892590360 0113305305488204665213841469 51941511609433057270365759591953092186117381932611 7931051185480744623799627495 67351885752724891227938183011949129833673362440656 6430860213949463952247371907 02179860943702770539217176293176752384674818467669 4051320005681271452635608277 85771342757789609173637178721468440901224953430146 5495853710507922796892589235 42019956112129021960864034418159813629774771309960 5187072113499999983729780499 51059731732816096318595024459455346908302642522308 2533446850352619311881710100 03137838752886587533208381420617177669147303598253 4904287554687311595628638823 53787593751957781857780532171226806613001927876611 1959092164201989380952572010 65485863278865936153381827968230301952035301852968 9957736225994138912497217752 83479131515574857242454150695950829533116861727855 8890750983817546374649393192 55060400927701671139009848824012858361603563707660 1047101819429555961989467678 37449448255379774726847104047534646208046684259069 4912933136770289891521047521 62056966024058038150193511253382430035587640247496 4732639141992726042699227967 82354781636009341721641219924586315030286182974555 7067498385054945885869269956 90927210797509302955321165344987202755960236480665 4991198818347977535663698074 26542527862551818417574672890977772793800081647060 0161452491921732172147723501 41441973568548161361157352552133475741849468438523 3239073941433345477624168625 18983569485562099219222184272550254256887671790494 6016534668049886272327917860 85784383827967976681454100953883786360950680064225 1252051173929848960841284886 26945604241965285022210661186306744278622039194945 0471237137869609563643719172 87467764657573962413890865832645995813390478027590 0994657640789512694683983525 95709825822620522489407726719478268482601476990902 6401363944374553050682034962 52451749399651431429809190659250937221696461515709 8583874105978859597729754989 30161753928468138268683868942774155991855925245953 9594310499725246808459872736 44695848653836736222626099124608051243884390451244 1365497627807977156914359977 00129616089441694868555848406353422072225828488648 1584560285060168427394522674 67678895252138522549954666727823986456596116354886 2305774564980355936345681743 24112515076069479451096596094025228879710893145669 1368672287489405601015033086 17928680920874760917824938589009714909675985261365 5497818931297848216829989487 22658804857564014270477555132379641451523746234364 5428584447952658678210511413 54735739523113427166102135969536231442952484937187 1101457654035902799344037420 07310578539062198387447808478489683321445713868751 9435064302184531910484810053 70614680674919278191197939952061419663428754440643 7451237181921799983910159195 61814675142691239748940907186494231961567945208095 1465502252316038819301420937 62137855956638937787083039069792077346722182562599 6615014215030680384477345492 02605414665925201497442850732518666002132434088190 7104863317346496514539057962

    1. Re:You call that Pi? by Anonymous Coward · · Score: 0
      No it's not.

      Pi is Pi.

    2. Re:You call that Pi? by Anonymous Coward · · Score: 0

      You're short a few digits. However, take any old perfect circle and divide the circumference by the diameter and you'll have your missing digits.

    3. Re:You call that Pi? by JollyFinn · · Score: 1

      Thats not Pi! Its way off it should be somewhere between 6 and 24 if it where defined but as factorials are not defined for non-integers its NaN.

      --
      Emacs is good operating system, but it has one flaw: Its text editor could be better.
    4. Re:You call that Pi? by Anonymous Coward · · Score: 0

      Mmmmm.... pi.... *drools*

    5. Re:You call that Pi? by jonathan_ingram · · Score: 1

      You want Gamma[Pi+1], then.

    6. Re:You call that Pi? by Anonymous Coward · · Score: 0

      I think I see jesus in there.

    7. Re:You call that Pi? by Dexheimer · · Score: 1

      How on earth did that get past the lameness filter?

      --
      /There are 10 types of people in this world; those who steal sigs and those don't
    8. Re:You call that Pi? by Anonymous Coward · · Score: 0

      Because it doesn't repeat. Maybe the filter even has a Pi exception?

    9. Re:You call that Pi? by Anonymous Coward · · Score: 0

      You're a little short for pi aren't you?

      Oh the suit. My name is Luke. I'm here to encrypt you.

    10. Re:You call that Pi? by MattCohn.com · · Score: 1

      Pi is equal to exactly 3!

      (in base 10/3*pi)

    11. Re:You call that Pi? by Anonymous Coward · · Score: 0

      or (to 250,000 places, got a 500 ISE when trying 500,000 places =P)

      Pi = 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825 3421170679
      8214808651 3282306647 0938446095 5058223172 5359408128 4811174502 8410270193 8521105559 6446229489 5493038196
      4428810975 6659334461 2847564823 3786783165 2712019091 4564856692 3460348610 4543266482 1339360726 0249141273
      7245870066 0631558817 4881520920 9628292540 9171536436 7892590360 0113305305 4882046652 1384146951 9415116094
      3305727036 5759591953 0921861173 8193261179 3105118548 0744623799 6274956735 1885752724 8912279381 8301194912

      9833673362 4406566430 8602139494 6395224737 1907021798 6094370277 0539217176 2931767523 8467481846 7669405132
      0005681271 4526356082 7785771342 7577896091 7363717872 1468440901 2249534301 4654958537 1050792279 6892589235
      4201995611 2129021960 8640344181 5981362977 4771309960 5187072113 4999999837 2978049951 0597317328 1609631859
      5024459455 3469083026 4252230825 3344685035 2619311881 7101000313 7838752886 5875332083 8142061717 7669147303
      5982534904 2875546873 1159562863 8823537875 9375195778 1857780532 1712268066 1300192787 6611195909 2164201989

      3809525720 1065485863 2788659361 5338182796 8230301952 0353018529 6899577362 2599413891 2497217752 8347913151
      5574857242 4541506959 5082953311 6861727855 8890750983 8175463746 4939319255 0604009277 0167113900 9848824012
      8583616035 6370766010 4710181942 9555961989 4676783744 9448255379 7747268471 0404753464 6208046684 2590694912
      9331367702 8989152104 7521620569 6602405803 8150193511 2533824300 3558764024 7496473263 9141992726 0426992279
      6782354781 6360093417 2164121992 4586315030 2861829745 5570674983 8505494588 5869269956 9092721079 7509302955

      3211653449 8720275596 0236480665 4991198818 3479775356 6369807426 5425278625 5181841757 4672890977 7727938000
      8164706001 6145249192 1732172147 7235014144 1973568548 1613611573 5255213347 5741849468 4385233239 0739414333
      4547762416 8625189835 6948556209 9219222184 2725502542 5688767179 0494601653 4668049886 2723279178 6085784383
      8279679766 8145410095 3883786360 9506800642 2512520511 7392984896 0841284886 2694560424 1965285022 2106611863
      0674427862 2039194945 0471237137 8696095636 4371917287 4677646575 7396241389 0865832645 9958133904 7802759009

      9465764078 9512694683 9835259570 9825822620 5224894077 2671947826 8482601476 9909026401 3639443745 5305068203
      4962524517 4939965143 1429809190 6592509372 2169646151 5709858387 4105978859 5977297549 8930161753 9284681382
      6868386894 2774155991 8559252459 5395943104 9972524680 8459872736 4469584865 3836736222 6260991246 0805124388
      4390451244 1365497627 8079771569 1435997700 1296160894 4169486855 5848406353 4220722258 2848864815 8456028506
      0168427394 5226746767 8895252138 5225499546 6672782398 6456596116 3548862305 7745649803 5593634568 1743241125

      1507606947 9451096596 0940252288 7971089314 5669136867 2287489405 6010150330 8617928680 9208747609 1782493858
      9009714909 6759852613 6554978189 3129784821 6829989487 2265880485 7564014270 4775551323 7964145152 3746234364
      5428584447 9526586782 1051141354 7357395231 1342716610 2135969536 2314429524 8493718711 0145765403 5902799344
      0374200731 0578539062 1983874478 0847848968 3321445713 8687519435 0643021845 3191048481 0053706146 8067491927
      8191197939 9520614196 6342875444 0643745123 7181921799 9839101591 9561814675 1426912397 4894090718 6494231961

      5679452080 9514655022 5231603881 9301420937 6213785595 6638937787 0830390697 9207734672 2182562599 6615014215
      0306803844 7734549202 6054146659 2520149744 2850732518 6660021324 3408819071 0486331734 6496514539 0579626856
      1005508106 6587969981 6357473638 4052571459 1028970641 4011097120 6280439039 75

    12. Re:You call that Pi? by darkpurpleblob · · Score: 1
      That ain't Pi! This is Pi!

      3.14159265358979323...(ad infinitum)

      Yeah, but the pie at the charity sale in Revenge of the Nerds was much more fun.
  11. lava random by Gorbaw · · Score: 0, Troll

    Yes, and Microsoft allready planned, to build Lava Lamps into Fritz-chips.

  12. I'm going to get modbombed to hell, but... by Anonymous Coward · · Score: 5, Funny
    I don't want to start a holy war here, but what is the deal with you SGI lava lamp fanatics? I've been sitting here at my freelance gig in front of a lava lamp (SGI LavaRnd lamp) for about 20 minutes now while it attempts to create me a 17 Meg file of random numbers. 20 minutes. At home, the lava lamp I got from my mom, which by all standards should be a lot slower than this SGI lamp, the same operation would take about 2 minutes. If that. In addition, during this random number generation, Netscape will not work. And everything else has ground to a halt. Even Emacs Lite is straining to keep up as I type this.

    I won't bore you with the laundry list of other problems that I've encountered while working on various SGI lava lamps, but suffice it to say there have been many, not the least of which is I've never seen a SGI lava lamp that has run faster than its 1960s counterpart,despite the SGI lamp's smaller viscosity. My lamp with runs faster than this SGI lamp at times. From a productivity standpoint, I don't get how people can claim that the SGI LavaRnd is a "superior" machine.

    SGI addicts, flame me if you'd like, but I'd rather hear some intelligent reasons why anyone would choose to use a SGI over other faster, cheaper, more stable systems.

    1. Re:I'm going to get modbombed to hell, but... by Anonymous Coward · · Score: 1

      > Even Emacs Lite is straining to keep up
      > as I type this.

      Dude, I don't think the lava lamp is your problem...

    2. Re:I'm going to get modbombed to hell, but... by Anonymous Coward · · Score: 0

      Oh, man. That's the most creative use of a form-troll for humor i've ever seen. Still crackin' up.

  13. First, by EnderWiggnz · · Score: 3, Insightful

    ...

    start with radioactive material... ...

    --
    ... hi bingo ...
    1. Re:First, by FroMan · · Score: 1

      Yeah, but do you know how many cats its going to take before we have enoug random numbers?

      --
      Norris/Palin 2012
      Fact: We deserve leaders who can kick your ass and field dress your carcass.
    2. Re:First, by SillySlashdotName · · Score: 1

      No, I an not sure.

      --
      Acts of massive stupidity are almost never covered by warranty. --me.
    3. Re:First, by SillySlashdotName · · Score: 1

      No, I am not sure. Schrodinger reference

      I thought there was only one 'Random Numbers' Heinlen reference

      usethepreviewbutton. usethepreviewbutton. usethepreviewbutton...

      --
      Acts of massive stupidity are almost never covered by warranty. --me.
  14. Does it by Timesprout · · Score: 4, Funny

    A Open Source Project for Truly Random Numbers

    cause random n's to be dropped from sentences ?

    --
    Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
    What truth?
    There is no dupe
    1. Re:Does it by Anonymous Coward · · Score: 0

      Correcting it:
      A Free Software Project for Truly Random Numbers.
      (ooh, papa rms, be proud of me!)

  15. What's the probability.. by dlosey · · Score: 3, Funny

    Its even portable, so the truly paranoid can take it with them when they travel.

    that if one were truly paranoid they really travel in this day and age?

    1. Re:What's the probability.. by masouds · · Score: 1

      hear! hear!
      Have your bags searched by a not-so-educated person.
      They find this lamp thingy.
      Three days later, in a DoJ/FBI briefing: "..We defused a terrorist plot to generate truly random numbers in a passenger aircraft. If the perpetrators succeeded, it could lead to aircraft landing in Paris rather than London; We've always brought terrorist to justice, and today is no exception!"

      --
      This .sig was intentionaly left blank.
  16. A Slashdot secret revealed. by AtariAmarok · · Score: 2, Funny

    I always wondered what was behind some of the moderation decisions I've been seeing!

    --
    Don't blame Durga. I voted for Centauri.
  17. other semiconductors by fortunatus · · Score: 5, Interesting

    audio circuits often use diode junctions in reverse-breakdown mode as a source of "white noise". couldn't we computer folks do the same? seems a similar idea to the the dark CCD technique.

    1. Re:other semiconductors by Anonymous Coward · · Score: 1, Interesting

      I thought the SID chip (audio chip in Commodor 64) used something like that, or other resistive load to generate its white/pink noise. You could also access it as an 8 bit value.

      That always seemed a very random, random number source.

    2. Re:other semiconductors by Tiroth · · Score: 1

      This is good, but I am guessing that there are probablistic components to the white noise generated by a reverse-biased zener junctions. There is also an issue of ADC imposing order on the chaoes. That may well make it less random than the CCD technique.

    3. Re:other semiconductors by Our+Man+In+Redmond · · Score: 1

      I say we just design and create some integrated circuits composed of dozens of very tiny lava lamps.

      --
      Someone you trust is one of us.
    4. Re: other semiconductors by Black+Parrot · · Score: 3, Informative


      > audio circuits often use diode junctions in reverse-breakdown mode as a source of "white noise". couldn't we computer folks do the same? seems a similar idea to the the dark CCD technique.

      I think there are already a lot of solid-state solutions out there that use thermal noise to generate random bits. The lava-lamp solution and its derivatives sound like a lot of fun geeky fooling-around, but ultimately seem to be a solution in search of a niche.

      --
      Sheesh, evil *and* a jerk. -- Jade
    5. Re:other semiconductors by Anonymous Coward · · Score: 0

      Isn't a CCD in fact just an array of simiconductor junctions? The picture here (which is rather misleading -- the color spectrum should really be a black and white intensity spectrum (it was pretty much the first thing google spit out at me)) shows what clearly looks like reverse biased diodes (photo diodes, in this case).

      http://www.oceanoptics.com/Products/howccddetect or works.asp

      So it looks like they are doing just what you said. Only you probably get more (or better) noise from light on a photo diode then you do from heat in a normal diode.

  18. A mic listening to the environment? by van+der+Rohe · · Score: 4, Interesting

    I'm not a math guy. At all.
    So forgive me if this is dumb or not the right idea.
    But why not just use a sensitive microphone listening to the ambience in a room to "seed" some sort of algorithm?

    1. Re:A mic listening to the environment? by White+Rabbitt · · Score: 1

      Cameras watching the ambience in a room generate more data to "seed" some sort of algorithm?

    2. Re:A mic listening to the environment? by haystor · · Score: 5, Informative

      You are correct that white noise can produce appropriately random numbers.

      The problem is that for encryption purposes you may need some huge random numbers. If you want to do that from an analog solution you'll have to take your samples closer and closer together, until the numbers become less random. If you start sampling sound 1 million times a second, any two values next to each other my be really close and actually predictable.

      --
      t
    3. Re:A mic listening to the environment? by rjoseph · · Score: 2, Insightful

      Right, and then there's the problem of isolation. The reason that the camera in this project is in a sealed box is because that if you are going to try and actually prove mathematically that the randomness of the system is truly random, it needs to be in isolation, outside of the realm of any intervention.

      Therefore, just putting a mic in a room allows for the possibility that the seed can be manipulated, although figuring out what sounds to make in the room to do so in a predicatable manner is incredibley difficult, it's still possible and therefore not theoretically sound.

    4. Re:A mic listening to the environment? by molo · · Score: 2, Informative

      Good idea, but insecure. What happens when I put a tuning fork next to it? That provides order, and order = no entropy = no randomness. Its too easy to tamper with, and a motivated attacker could limit or even predict the output.

      You're on the right track though. Its an analog source, just like the lava lamps.. but how the heck are you going to tamper with a lava lamp? :)

      -molo

      --
      Using your sig line to advertise for friends is lame.
    5. Re:A mic listening to the environment? by Whispers_in_the_dark · · Score: 1

      In fact wasn't one of the registers in the SID chip of the C-64/128 based on this very idea (I'm not sure about the VIC though). Something about one of the voice registers getting its input from line noise. Anybody remember the details on this one?

      Here are some links:
      SID chip features
      Boulder Dash used the CIA apparently

    6. Re:A mic listening to the environment? by Suicyco · · Score: 4, Informative

      Because sound is not random at all. White noise is, but how often do you hear that? Not often. Voices, cars driving by, phones ringing, all of these are patterns. Patterns lead to cracks in the numbers that can be culled for weaknesses in the algorithm. This in turn leads to knowledge of what algorithm is being used, which in turn leads to a directed cryptanalysis of the data, exactly what true random numbers are meant to avoid.

      Even using mouse clicks, keystroke times, etc. is not random. Thats why its called "pseudo-random". Processing normal everyday sound through a PRNG (pseudo random number generator) is still only pseudo, not real.

      People have been working on this problem for decades. Trust me, what you are asking about has not only been tried, but been used and even attacked.

    7. Re:A mic listening to the environment? by hackstraw · · Score: 1

      You're on the right track though. Its an analog source, just like the lava lamps.. but how the heck are you going to tamper with a lava lamp? :)

      Cut the cord?

    8. Re:A mic listening to the environment? by CoolVibe · · Score: 1
      but how the heck are you going to tamper with a lava lamp? :)

      One can turn the thing off, yielding a black image.

    9. Re:A mic listening to the environment? by Anonymous Coward · · Score: 0

      but how the heck are you going to tamper with a lava lamp? :)
      well i'd say if it exists and you have physical access then it can be tampered with. if you have access to a the microphone, you use the tuning fork. if you have a lava lamp you out some cloth or whatever isolating on it, yielding only molten "lava" on top, which isn't random either.

    10. Re:A mic listening to the environment? by drinkypoo · · Score: 1

      The reason the CCD is in a light-proof can is that no matter how paranoid you are you have to accept that it is extremely difficult to snoop. You can see through solid objects with backscatter xrays but that won't help you detect photons. That means that even if you have an identical CCD (which is to say, it came from the same batch... which is STILL not identical) at the same temperature you still can't make sure that the environment in your can is the same as the can in question. Sampling audio doesn't work because someone else could be sampling the same audio with a much more sophisticated and sensitive device, and if they knew enough about your system, they could potentially recreate it virtually, and get a small range of values to try.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    11. Re:A mic listening to the environment? by Phronesis · · Score: 2, Informative
      Sound does not give white noise, but thermal noise on a perfect resistor is perfectly white. An imperfect resistor can produce an excellent approximation of white noise within a fairly large bandwidth.

      As to working on the problem for decades, excellent commercial analog white-noise generators have been available for half a century or more. The only problem is making a very cheap white noise source that can be digitized conveniently.

    12. Re:A mic listening to the environment? by dlur · · Score: 1

      If it's in a light-proof can how do I know that there's really a CCD inside of the can? Maybe someone put just put two wires out of the can so that it would look like there's a CCD in there but instead there's not? I must now put my tin foil beanie on in order to study this problem. Don't try to read my mind while I ponder this problem as the aluminum foil will protect me. That and I'll be down in my lead-lined basement with closed-circuit cameras watching the perimiter. Besides, how can I be totally sure that my light-proof can is actually light-proof? I can't see inside it so how do I know for sure there's no light inside?

      --
      Duris MUD - The best pkill MUD. Ever.
    13. Re:A mic listening to the environment? by afidel · · Score: 1

      Phrack magazine had an article about this in issue 54. There is some preprocessing you need to do to eliminate things like power supply harmonics. Also you have to do it with the mic removed. The article can be found Here

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    14. Re:A mic listening to the environment? by molo · · Score: 1

      You can have the software detect darkness and not add to the entropy pool.

      -molo

      --
      Using your sig line to advertise for friends is lame.
    15. Re:A mic listening to the environment? by mph · · Score: 1
      That provides order, and order = no entropy = no randomness.
      In general, you want to be sampling the lowest bit or two of the audio signal, which should be at the level of amplifier noise in the sound hardware. The actual sounds of the room will be irrelevant if the scheme is properly implemented.

      Similarly, CCDs will have at least a few electrons of read noise, so the least-significant bit will be pure amplifier noise, independent of how much light is falling on the pixel.

    16. Re:A mic listening to the environment? by Anonymous Coward · · Score: 0

      You mention analog sources... I deal with analog sensors every day in HVAC automation.

      Here are a few examples of analog signals I see all the time...

      Temperature - sensed by a platinum RTD with trasmitter or by thermistor. I usually see a 10kOhm@77degF curve 2, since that's what the manufacturer I work with asks for. These things generally produce a number between -40.0000 and 250.0000, though they lose useful(but not for random number generators) accuracy outside of the range of 40 to 150. Cost: $10.

      Humidity - sensed by some very funky voodoo inside a sealed sensor. Don't let it get wet or it will never work again. It returns a signal in 4-20mA, 0-5Vdc, or 0-10Vdc that gives you a relative humidity (range 0 to 100%). Cost: $90.

      Differential Pressure - sensed by a diaphragm(very similar in design to *that* kind of diaphragm) in a protected environment(with a couple of air/water pickups). It returns a 4 to 20 mA signal that represents a sensor reading in a range you specify via dipswitches. Increments can be as low as 0.00001" w.c.(water column). Cost: $250.

      Gauge Pressure - a sealed gauge pressure sensor returns a 4-20mA signal similar to one sent by the Diff. Pressure sensor above. It has only one pickup, and is used for steam or liquids, even caustic liquids. Cost: $150.

      There are a ton of other sensors out there, but these are the most common ones for HVAC. They *all* return a very randomized analog signal. Even when you alter a signal, it still bounces a bit. Try some of these links for more info and purchase info.

      Building Automation Products, Inc.(BAPI) - they have lots of thermistors and humidity transmitters.
      Kele - a quick and reliable HVAC parts distributor.
      Veris Industries - they make lots of sensors, including current sensors, which are very cool...

    17. Re:A mic listening to the environment? by Anonymous Coward · · Score: 1, Interesting

      Even using mouse clicks, keystroke times, etc. is not random. Thats why its called "pseudo-random". Processing normal everyday sound through a PRNG (pseudo random number generator) is still only pseudo, not real.

      A pseudo random number generator is an algorithm which creates apparently random sequences of numbers but is in fact not random at all. Mouse clicks, keystroke times, etc. are not "pseudo random" but genuinely random. It's just that not every part of these signals is random. The randomness is modulated onto a non-random signal, but this does not disqualify them as pseudo-random. The real problem is that they contain relatively little randomness (random bits per second) and are therefore not suitable for applications which require a continuous and fast supply of random numbers (or can't rely on human interaction for randomness).

    18. Re:A mic listening to the environment? by Suicyco · · Score: 1

      Typing and mouse clicks are not truly random. You are typing words, probably english words, using a keyboard. That is a pattern and with proper analysis can be determined as such. A computer is a deterministic device which follows certain rules. Those rules will end up embedding themselves into the "noise" being generated.

      Its not the quantity of random bits thats the problem with a PRNG on a computer, its the quality. Any seed used to a PRNG must be of good enough quality and quantity to thwart cryptanalysis of the PRNG algorithm. So you are right in a sense, quantity is valuable, but much less so than quality. PRNG's can be usefull if they are seeded properly, however they are still not considered strong.

    19. Re:A mic listening to the environment? by Anonymous Coward · · Score: 0

      Read the other post again.

      A pseudo random number generator is an algorithm which creates apparently random sequences of numbers but is in fact not random at all. Mouse clicks, keystroke times, etc. are not "pseudo random" but genuinely random. It's just that not every part of these signals is random. The randomness is modulated onto a non-random signal, but this does not disqualify them as pseudo-random. The real problem is that they contain relatively little randomness (random bits per second) and are therefore not suitable for applications which require a continuous and fast supply of random numbers (or can't rely on human interaction for randomness).

      The time between two mouse clicks is somewhat random. The exact position of the mouse at a certain time is somewhat random. And so on...

    20. Re:A mic listening to the environment? by AnotherBlackHat · · Score: 1
      In general, you want to be sampling the lowest bit or two of the audio signal, which should be at the level of amplifier noise in the sound hardware. The actual sounds of the room will be irrelevant if the scheme is properly implemented.

      In general I want to sample everything I can get my hands on,
      and run it all through a hash not just the lower bits.

      Most of the unguessable information comes from the least significant bits,
      but the other bits have some entropy, and I want that.

      -- this is not a .sig
    21. Re:A mic listening to the environment? by halosfan · · Score: 1

      Patterns lead to cracks in the numbers that can be culled for weaknesses in the algorithm. This in turn leads to knowledge of what algorithm is being used, which in turn leads to a directed cryptanalysis of the data, exactly what true random numbers are meant to avoid.

      Isn't it a fundamental idea behind cryptography that security of the encrypted data lies in the key, not in the algorithm? In other words, you don't try to protect the data by not revealing the algorithm, instead, you protect it by not revealing the key.

      --
      My only problem with Microsoft is the severity of bugs in their software.
    22. Re:A mic listening to the environment? by Suicyco · · Score: 1

      Not entirely. Strong crypto requires good keys, you are right. What you have to understand is that most algorithms we use, you do not type in your 1024 bit key. You use a smaller key that is easier to remember. The 1024 bit key is usually a random number, which is what we are talking about here. The generation of that random number is what is most likely to be attacked. If the key can be partially analyzed, thats a crack in it and cryptanalysis is that much easier. True random numbers do not have weaknesses. Pseudo-random numbers do, and exposing any information about the algorithm used or the data source of the supposed randomness weakens the number.

    23. Re:A mic listening to the environment? by halosfan · · Score: 1

      Right. I thought you were referring to the data encryption algorithm, but you apparently were talking about the key generation algorithm...

      --
      My only problem with Microsoft is the severity of bugs in their software.
  19. *That* won't work... by siskbc · · Score: 2, Funny
    Anyway, my idea for an open source number generator is to have people on slashdot post the first number that comes to mind in this thread. I don't know if it could get more random.... (patent pending)

    The only numbers that generates is 42,69,503,and 23. I figure in 2 more posts you might get 17 too.

    --

    -Looking for a job as a materials chemist or multivariat

    1. Re:*That* won't work... by the_consumer · · Score: 1
      You forgot the Law of Fives.

      Or did you?

      --
      "If you're thinking what I'm thinking, you're right." -
    2. Re:*That* won't work... by bobgoatcheese · · Score: 1

      This is Slashdot, don't forget our favorite: 404.

      --
      How's my typing? Call 1-800-eta-shut
  20. I have the most portable solution... by PrimeWaveZ · · Score: 5, Funny

    For generating random numbers: A quarter in my pocket and a lot of free time.

    1. Re:I have the most portable solution... by aero6dof · · Score: 1

      Yes, but have you calibrated your quarter? :)

    2. Re:I have the most portable solution... by Anonymous Coward · · Score: 0

      You don't have a quarter in your pocket. Admit it. And stop "generating random numbers".

    3. Re:I have the most portable solution... by Anonymous Coward · · Score: 0
      For generating random numbers: A quarter in my pocket and a lot of free time.
      Hmm, before I choose my method I'd like more information... What was your score on the 22 billion bit test?
    4. Re:I have the most portable solution... by Anonymous Coward · · Score: 0

      This was meant as a joke but in all seriousness you could use it to create any size random number you wanted in binary.

  21. Simplicity is always the best solution. by Trigun · · Score: 1

    Cough into your microphone.

    1. Re:Simplicity is always the best solution. by TibbonZero · · Score: 1, Funny

      Cough into your microphone

      turn your head first...

      --
      Tibbon
      tibbon.com
    2. Re:Simplicity is always the best solution. by digitalunity · · Score: 1

      Oddly enough. I did a random number project in high school. My random number's were derived from a combination of mathematics, analog-digital converters, and a 4 FM radio tuners. It took 2^34 samples and the longest recurrent sequence was 39 bits long.

      Is that good? I have no idea. But it was fun.

      --
      You can't legislate goodness. Let each to his own destiny, by will of his freely made choices.
  22. what about audio output? by mbreitba · · Score: 5, Interesting

    I had a friend that 5 or 6 years ago used the "white noise" from his SB 16 to generate random numbers. Wouldn't this be much more portable than a lava lamp? -Matt

    1. Re:what about audio output? by molo · · Score: 1

      Good idea, but insecure. What happens when I put a tuning fork next to it? That provides order, and order = no entropy = no randomness. Its too easy to tamper with, and a motivated attacker could limit or even predict the output.

      You're on the right track though.

      -molo

      --
      Using your sig line to advertise for friends is lame.
    2. Re:what about audio output? by blair1q · · Score: 1

      Mod that "funny" rather than "insightful".

      Computers generate white noise by calculating random numbers and converting them to sound patterns.

      So when you sample that to turn it back into a number, you've done nothing more than waste CPU, bus, and sound-board resources to create what is probably a degraded level of randomness.

    3. Re:what about audio output? by homer_ca · · Score: 1

      That'll work. White noise from analog amps is a well accepted source of randomness. The Via C3 and Intel 815 chipset have built-in hardware random number generators that use this.

    4. Re:what about audio output? by rjoseph · · Score: 1

      That "white noise" is not truly random: it could easily be manipulated in many ways through human intervention, and although it's quite difficult, it's still possible. The goal here is to create a fairly inexpensive but completely isolated number generator. Pretty cool stuff IMHO.

    5. Re:what about audio output? by Molina+the+Bofh · · Score: 1

      However this noise is mixed with natural ambient noise. This combination can be random.

      --

      -
      Roses are #FF0000, Violets are #0000FF, find / -name '*base*' |xargs chown -R us && mv zig greatjustice
    6. Re:what about audio output? by retinaburn · · Score: 1

      If you read the article you would find that they no longer use lava lamps, but instead a webcam inside of a black 'box' to generate the noise.

    7. Re:what about audio output? by greed · · Score: 1

      If that was a "pre-Wave Table" SoundBlaster, it would generate noise through FM synthesis, would it not?

    8. Re:what about audio output? by EMH_Mark3 · · Score: 1

      hm if the attacker got physical access, you're pretty much already screwed.

      besides, even if you use a tuning fork, the least significative bits of the input should only contain white noise (partitially due to the general shitness of most a/d converters)

      --
      Burn the land and boil the sea, you can't take the sky from me
    9. Re:what about audio output? by MoP030 · · Score: 1

      i doubt he meant computer generated noise, rather the noise you'd get when you turn your microphone input on, without a microphone. you'll get whatever interferences you have as noise.

      --
      the most sexp i get is my paren-mode.
    10. Re:what about audio output? by Zachary+Kessin · · Score: 1

      well I have no idea how it comes up with the white noise, so I can't comment on that, however I had thought of taking a sound input device, plugging in a radio tuned to a static station. Then you turn the volume up and just use the low order bit to be a random number. While I have not tested this it should I think work quite well. Even if you by chance start pulling in some signal the low order bit should stay rather random. You probably should give the choise of radio frequency some major thought and probably stay away from AM and FM bands. Ham bands might work well.

      --
      Erlang Developer and podcaster
    11. Re:what about audio output? by Anonymous Coward · · Score: 0

      a little while ago i was playing with encryption and i used a microphone next to the fan to generate random numbers. i don't know how random this is -- it ran the bits through a algorithm to help a bit. i did find out though that my idea wasn't unique but it was an easy way of generating random numbers from a real-world source and it didn't really require any special hardware and the code was short.

    12. Re:what about audio output? by Anonymous Coward · · Score: 0
      Article? I don't see an article. Just a link to the website. The website is down (503).

      From the blurb written for Slashdot, I read "saturated CCD". I figured it was saturated with light. But I guess it's saturated with black. Whatever.

      --
      me

  23. Lava lamps? by johnisevil · · Score: 2, Funny

    Lava lamps? Damn hippies.

    1. Re:Lava lamps? by dodell · · Score: 1

      Well, it's not a stupid idea. Lava lamps are created by a polymer that changes physical properties when heated and regains these properties when cooled down. When your "blobs" float towards the bottom, the heat from the light heats them up, they move upwards and cool off when they're farther away from the top. I can imagine that this change of physical property is quite random.

    2. Re:Lava lamps? by ivanmarsh · · Score: 1

      I've been generating random numbers based on the viscosity of my bong water for years. It's not a very portable solution however... esp when I have to fly somnewhere. 8^)

  24. Can't be done. by Chess_the_cat · · Score: 3, Informative

    Unless the random-number generator is built outside of our Universe, it can't generate truly random numbers. Only pseudo-random ones. As it stands, there will always be something influencing the result. Fortunately for us, pseudo-random numbers are impossible to differentiate from random ones and are random enough to serve our purposes anyway.

    --
    Support the First Amendment. Read at -1
    1. Re:Can't be done. by nat5an · · Score: 2, Insightful

      Hey! Quit spoiling the party with actual facts!

      Seriously though. Your point is valid. In our universe, (good) psuedorandom numbers are just as random as anything else in the universe (that we consider random). The real problem is that people look for a distinction between random and pseudorandom when none exists.

      --
      Head down, go to sleep to the rhythm of the war drums...
    2. Re:Can't be done. by CyberGarp · · Score: 4, Interesting

      Ahh contrair, you assume hidden variables young grasshopper. Even Einstein had trouble believing that quantum physics depended on randomness. The hidden variable theory has been attacked from many angles, and noone has been able to prove yet that there are hidden variables, in fact there is much evidence that quantum mechnics depends on randomness.

      --

      I used to wonder what was so holy about a silent night, now I have a child.
    3. Re:Can't be done. by alanh · · Score: 3, Informative

      You're wrong. Quantum mechanical effects can be truly random. Nuclear decay is a good example of this.

      Set up a piece of radioactive material next to a geiger counter, plug your geiger counter into your PC and you can generate all the random numbers you want.

      --
      - AlanH
    4. Re:Can't be done. by gosand · · Score: 1
      pseudo-random numbers are impossible to differentiate from random ones

      How do you know?

      As it stands, there will always be something influencing the result.

      And what if that something is a random event?

      --

      My beliefs do not require that you agree with them.

    5. Re:Can't be done. by Rostin · · Score: 1

      I remember reading once an article about the problem of randomness. IIRC, every time someone comes up with a new method of generating random numbers, some statistician comes up with a new test method to prove that the numbers it generates aren't truly random. The author pointed out (like the parent) that there is no such thing as a truly random number. I see several posts about how quantum mechanics is random. I have to admit to having only a superficial knowledge of these matters (from a physical chemistry course), but I have to say that if quantum effects are truly random, then all the physicists in the world ought to pack up and go home. The experiment that one does could never be repeated by another, or if it was, it would be purely because of "chance." How am I misunderstanding things?

    6. Re:Can't be done. by drinkypoo · · Score: 1

      You are making the error that the poster did not make. You are confusing "random" with "apparently random". Just because we don't know any way to model and predict the decay of radioactive materials doesn't mean that they behave in a random manner.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    7. Re:Can't be done. by saskwach · · Score: 1

      The time between two decay events of a radioactive isotope is truly random, and exists in our universe.

    8. Re:Can't be done. by Entropius · · Score: 1

      Quantum effects are random, but the probabilities are known. On a small scale, this can be quite random: if you stare at a particular atom of plutonium, you can't predict when it will decay. But (through the law of large numbers), if you stare at 10^20 atoms, you can predict very precisely what percentage will have decayed over a given time-frame. Most of the phenomena we observe have scales much larger than those governed by this randomness, so we don't see it and everything is nice and predictable.

      We can contrive exceptions, though. By using a Geiger counter or somesuch, it's possible to detect individual nuclear decays and generate an observable (macro-level) audible or electrical signal, making this a good way to generate random seeds.

      Plus, computers would have uranium in them. How cool is that?

    9. Re:Can't be done. by Rostin · · Score: 1

      If it were truly random, we would be unable to know the half-life of radioactive elements. If I add up a whole bunch of strings of what seem to be random numbers and every string adds up to exactly 1075, I think that I might be forced to conclude that there is something not truly random about the numbers.

    10. Re:Can't be done. by drakaan · · Score: 1

      Actually, our complete inability to model or predict something is the way that we determine that it is random. This makes the distinction between "random" and "apparently random" nonexistent. When something appears to be random (to *everyone*), it is.

      --
      "Murphy was an optimist" - O'Toole's commentary on Murphy's Law
    11. Re:Can't be done. by Rostin · · Score: 1

      I realize that. My real question is, how can a bunch of truly random events collectively yield something predictable? Don't we take emergent patterns as a sign that something isn't random? There must be some bias at work in at least a few of these events. It might be practical to say that "This is effectively random, because we don't understand the physical laws governing it." But it doesn't make sense to me that we would say, "If you get enough of these things, we can see a pattern.. but individually they are actually random."

    12. Re:Can't be done. by EvanED · · Score: 1

      Actually, depending on how you get your "random" numbers, this may not work. Very coincidently I have been looking at the third chapter of The Art of Computer Programming, on arathemetic means of producing pseudo-random numbers. Exercise number 3.1-1 asks "Suppose that you wish to obtain a decimal digit at random, not using a computer. Which of the following methods would be suitable? ... d) Expose a geiger counter to a source of radioactivity for one minute (shielding yourself) and use the units digit of the resulting count. ..."

      This looks like it would work, but it doesn't: "(d) (This is a hard question thrown in purposely as a surprise.) The number is not random; if the average number of emmissions per minute is m, [lots of math I don't feel like typing in ASCII]....Even digits are selected with probability exp(-m) cosh m = 1/2 + exp(-2m)/2, and this is not equal to 1/2, redardless of the value of m (although the error may be so small as to be considered negligible when m is very large)." because the numbers are not uniformly distributed (precisely, the count follows a poisson distribution).

      Now taking the time that the counter registers a hit may work, but it seems that too may not be a uniform distribution.

    13. Re:Can't be done. by Type-R · · Score: 1

      Hmm, I don't completely buy that... It's like talking about distance and speed... If we know I went 1000km in 10 hours, that dosen't mean I've been going 100km/h the whole time... That's the avg, but maybe I waited until the 9th hour to start, etc...

    14. Re:Can't be done. by KFK+-+Wildcat · · Score: 1

      Not true.
      Quantum physics show that true random numbers are possible. Of course, that's not the case of the Lava lamp, but sophisticated setup exploiting quantum uncertainity are possible.

    15. Re:Can't be done. by drinkypoo · · Score: 1

      But because you don't know how to do it, and it's APPARENTLY random, doesn't mean it IS random. Tons of cryptosystems have fallen to mistaken assumptions about what is and what is not known to someone else.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    16. Re:Can't be done. by Rostin · · Score: 1

      Right, you waited until the 9th hour to start (for whatever reason) and then you purposefully drove 1000 km/hr in the direction of your destination to make it there on time. That's not random. Your need to make it to your destination in 10 hours governed your rate and direction in the last hour. Let's suppose that your mode of transporation is limited in speed. Then the amount of time you could have waited is also constrained by that maximum speed and the distance you have to travel to make it to your destination, and so it isn't purely random, either. If your start time, rate, and direction were truly random, there is very little chance that you would ever arrive at your destination in 10 hours precisely.

    17. Re:Can't be done. by Anonymous Coward · · Score: 0

      It's spelled "au contraire".

    18. Re:Can't be done. by NoOneInParticular · · Score: 1

      Flip a fair coin. It will come up heads or tails in an unpredictable way. Flip the coin a million times, a billion times, a trillion times and count the average number of times it came up heads. The more often you throw, the closer this value will go to 0.5 (even though it does vary). Given that the coin is fair (and not wearing out after trillion throws :), and the throwing method is 'chaotic', every single coinflip will be unpredictable, yet the end result is very well known and becomes ever more accurate with more throws.

    19. Re:Can't be done. by Anonymous Coward · · Score: 0

      Thou shalt not confuse "random" with "uniform distribution" as they are very different concepts.

    20. Re:Can't be done. by Sloppy · · Score: 1

      Fair enough, but the assumption here about what is unknown to someone else, is physics. If Eve knows something about quantum mechanics that Bob and Alice and the rest of society doesn't know, then I think Eve deserves to win. ;-)

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    21. Re:Can't be done. by Anonymous Coward · · Score: 0

      The numbers don't add up to the exact same amount. That's what statistics is all about. If you take a piece of radioactive uranium and observe it for about 700 million years, it will most likely have decayed half, but it is possible that it hasn't decayed at all (or completely, or anything in between).

    22. Re:Can't be done. by Anonymous Coward · · Score: 0

      Damn that Mr. Noone, always showing up at odd moments and doing the most subversive things!

    23. Re:Can't be done. by bedessen · · Score: 1

      You're confusing the concept of a statistical distribution with the concept of probability. Example: a fair coin toss will always have a 50/50 distribution of heads/tails if you toss it enough. However for any one specific toss, knowing what the last 1, 10, 100, etc. results were will have absolutely no effect or predictive ability on the next toss. In other words the outcome of a specific single coin toss will be completely random and unpredictable, but in the long term the distribution will always be an even 50/50. Please read any basic statistics text before spewing nonsense about "adding up a whole bunch of strings of random numbers."

    24. Re:Can't be done. by 2TecTom · · Score: 1

      None of this takes in to account "odds". Sure, every toss is fifty fifty but would you bet heads after it came up five or ten times already. Nope, you'd bet tails. Odds are you'd win ... so, what happened to fifty fifty .... sheesh.

      As for the radioactive decay, sorry, not entirely true. In any significant amount of istopes some will always decay. One particular isotope may wait, but only if the sample were large enough to demonstrate immediate decay.

      Furthermore, we simply don't know about determinism as we don't really understand subatomic physics yet. In fact, the deeper we go, the more the problem becomes metaphysical in nature.

      (inho, the jury is out)

      --
      Words to men, as air to birds.
    25. Re:Can't be done. by Anonymous Coward · · Score: 0

      Pseudorandom means there is an algorithm with which to generate the sequence. Do you actually believe that every event we can measure is predictable?

    26. Re:Can't be done. by Anonymous Coward · · Score: 0

      As for the radioactive decay, sorry, not entirely true. In any significant amount of istopes some will always decay.

      Your macroscopic experience is working against your understanding of stochastic processes. The numbers involved are too big/small to comprehend intuitively. The probability of a significant deviation of the decay from the expected half after 700 million years is ridiculously low, thereby leading you to believe that decay must occur, when in fact all we know suggests that atomic decay is a Markov process. That means the breakup of a single atom in the next second is exactly as likely as its breakup in the second after that (given it doesn't decay in the next second). As with all physics, this is merely assumption, but it is substantiated assumption.

    27. Re:Can't be done. by Kjella · · Score: 1

      You're wrong. Quantum mechanical effects can be truly random. Nuclear decay is a good example of this.

      There's a very big difference between being unable to detect the cause, and to prove that there is no cause. IANA Doctor of Physics, but I don't believe that that it is truly random, but rather that the nucleus is in different quantum states, and that some of these are unstable and lead to nuclear decay. The decay rate simply measures how "rare" these quantum states are. And that assuming you had a tool to manipulate the state (would be kinda hard, I admit) you could force nuclear decay. OTOH that is all theoretical, so I think it's as close to random as you'd get.

      Kjella

      --
      Live today, because you never know what tomorrow brings
    28. Re:Can't be done. by Mr+Smidge · · Score: 1

      , in fact there is much evidence that quantum mechnics depends on randomness.

      I'm interesting in reading about this.. do you have any good references or articles you could point me towards?

    29. Re:Can't be done. by 2TecTom · · Score: 1

      I'll believe you when you can show me a macroscopic amount of stable non decaying uranium, ok?

      --
      Words to men, as air to birds.
    30. Re:Can't be done. by benjamindees · · Score: 1

      This course description gives a decent overview of the basic probabilistic nature of quantum physics. I just found it because I'd recommend reading the course book, Quantum Mechanics and Experience, for an excellent description of the 'problem' of quantum interpretation.

      Interestingly, it is a philosophy course. Most physicists have long since resigned themselves to the empiricist view that interpretation of quantum effects doesn't matter (see my sig). If it can't be directly seen and measured, it doesn't exist. The problem with that view is that what 'does' exist cannot be explained other than as quantum 'randomness'.

      As for hidden variables, I'm inclined to agree with Einstein on this matter, too. If physicists throughout time had resigned themselves to thoughtlessly measuring and manipulating obvious variables, they would instead be called "chemists". It's obvious that there is more to quantum effects than is presently measurable.

      --
      "I assumed blithely that there were no elves out there in the darkness"
    31. Re:Can't be done. by brocheck · · Score: 1

      You're incorrect! And not because of what the previous gentlemen mentioned. There can be a truly random number generator -- yourself. I have sentience, I have free will. Therefore here is a random number for you: 8.

      --

      suddenly I feel very tired

    32. Re:Can't be done. by CyberGarp · · Score: 1

      Yes, but I never said I could spell. :-)

      --

      I used to wonder what was so holy about a silent night, now I have a child.
    33. Re:Can't be done. by jafuser · · Score: 1

      d) Expose a geiger counter to a source of radioactivity for one minute (shielding yourself) and use the units digit of the resulting count

      You're correct that it won't do much good, but the apparatus can still be used to get decent random numbers with an algorithm like this:

      long t,d1,d2,l;
      start_geiger_counter();

      wait_for_click();
      l=exact_time_now();

      wait_for_click();
      t=exact_time_now();
      d1=t-l;

      while(1){
      l=t;
      d2=d1;
      wait_for_click();
      t=exact_time_now();
      d1=t-l;
      if(d2>d1) printnum(1);
      else printnum(0);
      }


      It's not perfect, but it's good enough. The higher the temporal resolution exact_time_now() can return, the better the result.

      --
      Please consider making an automatic monthly recurring donation to the EFF
    34. Re:Can't be done. by Anonymous Coward · · Score: 0

      Yet, but by your definition, NOTHING is truly random except for mathematical constructs that we define to be random. I would say that makes the word "random" useless.

    35. Re:Can't be done. by drakaan · · Score: 1

      I didn't say because *I* don't know how to do it...I said because *nobody* knows how to do it. If it looks random to everybody, it's random. Once we find an algorithm, method, rule, theory, etc to accurately predict those numbers, they cease to be random, but until then, they are random if they appear so to everybody. When the cryptosystem falls, that is evidence that the numbers are not random, but that doesn't disagree with what I'm saying.

      --
      "Murphy was an optimist" - O'Toole's commentary on Murphy's Law
  25. Case Mod by Jahf · · Score: 1

    Hmmm ... this brings up some COOL case mod ideas :)

    --
    It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
  26. I see the first post by dodell · · Score: 1

    And it's already slashdotted. And it's from SGI scientists, heh.

    Anyway, it's gonna be great for cryptographers to have a source for truly random numbers. It's a pity that it requires CCDs and such. Although I can't see the site, so I can't determine if this can be done with hardware or something similar that would be better in server environments.

  27. at least be accurate, man! by Anonymous Coward · · Score: 0

    Your personal version of pi as at least .004 off from the real value. It stops being correct at the third digit after the decimal point.

  28. new Wired article by iamr00t · · Score: 1
  29. Incredible! by mblase · · Score: 3, Funny

    I just used LavaRnd's Lotto Number Generator with default values and it returned:
    1, 2, 3, 4, 5, 6


    That's the same combination I use on my luggage!

    1. Re:Incredible! by Rudeboy777 · · Score: 1, Troll

      I bet you give great helmet!

      --

      From hell's heart I fstab at /dev/hdc

    2. Re:Incredible! by Zork+the+Almighty · · Score: 1

      If you don't get the reference, don't mod it troll.

      --

      In Soviet America the banks rob you!
  30. cool idea for a case mod by kisrael · · Score: 3, Interesting

    going back to the original idea, how cool would it be to have a lava lamp inside the case, maybe helping out all those heatsinks by converting heat into lava-moving power...with a window so you can see it as it generated all the random numbers you needed.

    "Anyone who considers arithmetical methods of producing random numbers is, of course, in a state of sin."
    --John von Neumann

    --
    SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    1. Re:cool idea for a case mod by Sloppy · · Score: 1

      With a window?! Dude, they are going to see your lava lamp and reconstruct your random number stream and guess your key! I recommend you surround the lamp+CCD unit with tinfoil. Shiny side out.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    2. Re:cool idea for a case mod by owlstead · · Score: 1

      Lava lamps work by the use of heat. A lot of heat coming from a lamp making the wax hot.

      Now you think it is a _cool_ idea to put that into your computer case? Do you really need another heat generator in your PC?

      Neh, bad idea. The fish bowl was (except for the electrical part) a cooler idea.

      Warper

    3. Re:cool idea for a case mod by kisrael · · Score: 1

      No, the idea is that the heat from the chips would power the lamp. The lamp would just be a big, probably ineffecient heatsink basically.

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
  31. Truly random numbers by cheesekeeper · · Score: 2, Funny
    Truly random numbers R LAME. LOL l337 HAX0Rs use the number "7" for every random seed. You can't tell if it's a seven or a 't'! Encrypshun R 4 DUMMMIES!

    </joke>
    --

    Best read in good ol' Monaco 9 point.

    1. Re:Truly random numbers by Anonymous Coward · · Score: 0

      It appears you forgot to put the tag at the beginning. One can infer that that is the reason it wasn't funny...

    2. Re:Truly random numbers by rwiedower · · Score: 1

      I agree. Of course, someone should've put a tag at the beginning of every post that referenced luggage/spaceballs, indicating that the joke had humor, but was self-closing, and therefore lame.

  32. Study Chaos by tshak · · Score: 4, Insightful

    Nothing is truly random about a lava lamp, or even the fractals on a leaf. "Randomness" as we understand it has always been about complex order and large numbers. Meaning, it's too complex for us to see the pattern and the statistical possibility of numbers occuring in a measurable pattern over time is extremely low.

    --

    There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    1. Re:Study Chaos by cheezit · · Score: 0

      Agreed. Funny that some of what humans see as non-random (e.g., the nice spherical shape of planets, the ticking of a wristwatch) can have random properties at the micro or macro scales, whereas what appears to humans to be random (growth pattern of trees, crystals, coastlines) can have a strong order to it that only mathematicians can appreciate.

      --
      Premature optimization is the root of all evil
    2. Re:Study Chaos by ivanmarsh · · Score: 1

      Nothing is truly anything. If Chaos theory teaches us anything it's that all measurements are approximations. Chaos doesn't preculde randomness. It tells us within what scope/scale that randomness exists. If it's beyond our ability to predict then it is random.

    3. Re:Study Chaos by Anonymous Coward · · Score: 0

      So mathematicians are not human? That explains their sometimes very odd social behaviors.

    4. Re:Study Chaos by tshak · · Score: 1

      There are many different perspectives on the Chaos theory. I'm in the camp that believes that randomness is just a human concept used to describe phenomena that's too complext to predict (as you mentioned), but that true randomness does not really exist.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    5. Re:Study Chaos by ivanmarsh · · Score: 1

      I understand that, and I'm not so much disagreeing with you as discussing the meaning of "true" and that reality is perception... and thus perception is reality.

      In mathmatics, physics, etc... there are always rules that are "made up" and accepted to make the answers fit our observations.

      Zeno's paradox for instance (my first introduction to infinite scaling) has always facinated me. Mathmatics that "prove" that something we observe in the real world cannot "truly" be. It's close to zero, we'll just call it zero.

      http://mathforum.org/isaac/problems/zeno1.html

      Huh, huh... math is cool.

    6. Re:Study Chaos by xswl0931 · · Score: 1

      I suppose this means you don't believe in freewill? If there is no randomness, this means that everything that has happened and everything that will happened is simply the output of some complex mathematical formula we can never hope to understand, but still exists.

    7. Re:Study Chaos by cheezit · · Score: 1

      Oh come on, you know what I meant...:)

      I do believe certain types of intellectual training provide perspectives that are very hard for "regular folks" to adopt easily. Higher math and physics, certainly, as well as some philosophy. Then again, some academic disciplines seem designed to be specialized / hard-to-understand without actually having much value....

      --
      Premature optimization is the root of all evil
  33. Apple ][ used keypress timing seeds by call+-151 · · Score: 4, Informative

    The Apple ][ computers used the pause between keystrokes, measured much more precisely than necessary and disregarding all but the last 8 bits, as an attempt at an analog random number seed for their psuedorandom number generator. Very simple and effective and I haven't seen many implementations of better systems around. One side effect was that if you had a program which ran off the boot disk with no keystrokes, it would do the same thing every time, no matter how improbable that was...

    --
    It's psychosomatic. You need a lobotomy. I'll get a saw.
    1. Re:Apple ][ used keypress timing seeds by v_1matst · · Score: 1

      Correct me if I'm wrong, but wasn't there something about keystroke timing attacks and SSH? Also, aren't there applications that not only prompt you for a password, but analyze the way it is type by the user (using keystroke timing)? This might be 'random', however after some analysis it may be rather easy to find a pattern. Just my 2 cents.

    2. Re:Apple ][ used keypress timing seeds by frostgiant · · Score: 1

      Old console systems used to do the same thing, generally on the title screen.

    3. Re:Apple ][ used keypress timing seeds by leonardluen · · Score: 1

      yes, but are these the same apple ][ computers that when you multiplied 7*7 and got 49.00001 as the answer?

      if i remember i believe 9*9 was the similar and gave you 81.00001

      and they were complaining about the 25th decimal point of the square root of 3 being off in the first batch of pentiums...

    4. Re:Apple ][ used keypress timing seeds by Anonymous Coward · · Score: 0

      Pentium: 64 bit floating point mantissa with largish (i forget) exponent.
      Apple ][: 16 bit mantissa, 7 bit exponent.
      At the time, when everyone else's Basic interpreter was 8 bit, some of 'em not even supporting floating point, Apple ][ wasn't that bad.
      How freakin' accurate you want yer 8 bit computer to be?

    5. Re:Apple ][ used keypress timing seeds by leonardluen · · Score: 1

      How freakin' accurate you want yer 8 bit computer to be?

      oh i don't know, but is it too much to ask for (9*9)/9 to equal 9?
      81/9 did, but (9*9)/9 didn't

      other than that i don't have any complaints as it was the apple ]['s that got me interested in programming.

    6. Re:Apple ][ used keypress timing seeds by morcheeba · · Score: 1

      That's not how it worked in applesoft -- are you talking about an application or Integer basic? If it was integer, than that would fit Woz's style (and PRNs in applesoft would fit Bill Gate's).

      One neat program that I wrote converted the disk drive read byte to a sound - you could definately hear the difference between a disk in the drive and the door open. Even with a formatted disk, I think you'd still get somewhat random numbers because the data between sectors wasn't synchronized. I don't know if anyone used this for random numbers, though.

      Incidently, linux does use inter-key timing (among many other things) for randomness.

    7. Re:Apple ][ used keypress timing seeds by IHateUniqueNicks · · Score: 1

      I didn't think the GBA was THAT old. :P

      This is the best way to generate a seed I've seen yet for GBA programming. Of course, then you have to code in a proper pseudo-random number funtion as well, so even if your seed is pretty random, your series can still be screwed up if you're not using a good one.

  34. 123456? by dark&stormynight · · Score: 2, Funny

    123456? That's the combination of my luggage. I need new luggage!!!

    1. Re:123456? by ivanmarsh · · Score: 1

      A recent study (who's origin escapes me at the moment) found that 1234 is the most common ATM PIN code. Who'd a thunk it?

  35. The random number seems to be... by Dog+and+Pony · · Score: 2, Funny

    503 ;-)

    1. Re:The random number seems to be... by Anonymous Coward · · Score: 0

      I got 404. Even after a refresh it still said 404... pffft...

  36. Expensive! by insecuritiez · · Score: 1

    Six Lava Lamps not to mention six photo-sensors? Why not six cheep antennas to measure radio noise? Probably take up less room too.

    1. Re:Expensive! by Knight2K · · Score: 2, Informative

      I'm not a radio expert... but theoretically, couldn't a system like that be attacked by beaming out a strong known signal with limited range on the frequencies (or possibly spill across a broad spectrum) utilized by the random system? Then the attacker could guess the random series since it forced the generator to use a known seed.

      At least an optical system is tougher to interfere with since the local user knows what the camera is looking at.

      --
      ======
      In X-Windows the client serves YOU!
    2. Re:Expensive! by insecuritiez · · Score: 1

      The "known source" could be eliminated if each antenna controller changed the frequency it listened on based on the random noise generated from the other antennas.

  37. testing random numbers by QEDog · · Score: 1
    Reminds me of whay my friend that goes to Med-School used to do in their anatomy lab. Sometimes they needed to cut some parts to access others in the corpse. And said he would go around with the 'parts' saying

    Testis, Testis 1,2,3 Testis

    Just do not donate your body to science, ok?

    --
    "There is no teacher but the enemy."-Mazer Rackham
    1. Re:testing random numbers by Anonymous Coward · · Score: 0

      > Just do not donate your body to science, ok?

      Why not? I'd happily donate my body to dog food. I mean, it ain't going to do me any good. I don't have the money for cryogenic preservation either. Actually, ideally my body would end up on rotten.com.

      Alternatively,
      http://www.kfunigraz.ac.at/anaww w/plast/

      Let your body be a science exhibit for anybody to see. That just seems so much better than worm food.

    2. Re:testing random numbers by sharlskdy · · Score: 1

      You're too late... I already did.

      Fortunately they returned it with most of the important parts still intact.

  38. Paranoid by Quill_28 · · Score: 4, Funny

    >so the truly paranoid can take it with them when they travel."

    pfftt, like there is anyone on Slashdot that is paranoid.

    1. Re:Paranoid by poot_rootbeer · · Score: 1

      >so the truly paranoid can take it with them when they travel."

      pfftt, like there is anyone on Slashdot that is paranoid.


      pfftt, like there is anyone on Slashdot that ever travels (or even leaves their basement).

    2. Re:Paranoid by Anonymous Coward · · Score: 0

      Can I take my tinfoil hat with it?

    3. Re:Paranoid by damsgaard · · Score: 1

      I'm not paranoid, I've enemies for real!

  39. What about double-slit experiment? by dschuetz · · Score: 3, Interesting

    I've always wondered if the double-slit experiment, in a particle mode, would be a good way to generate random numbers.

    The phenomena (for those unfamilar with it) is putting two closely-spaced slits in a piece of paper and then shining a light through it. You end up with a spreading fringe of light and dark patterns, as the light waves coming through the slits interfere with each other.

    Where it gets spooky is when you drop the light source down to where it emits photons one at a time -- they *still* interfere with each other, even though there aren't any other photons present at any given point to interfere with.

    Anyway, I seem to recall that the place where each photon ends up is random. So why not put a low-power, stream-of-single-photons light source on one side of the double-slit, and a pair of sensors on the other side? Label one sensor "0" and the other "1" and interpret the strings as binary numbers. Convert (and optionally send them through a bit blender) and you're done.

    I'd think this could be manufactured in a small chip-like package, and made a standard motherboard component.

    Has anyone investigated this approach? If so, I'd be curious to hear what their results were (and if it turns out not to be as random as one would like).

    1. Re:What about double-slit experiment? by zeotherm · · Score: 5, Informative

      Where to begin... For starters, the double slit experiment, to see the neat effects of single electron interference, must be done in a vacuum. The electorns must not be influenced by anything else at all, like air/gas molecules. Also, it must be done at temperatures near absolute zero, where the thermal bath of the environment doesn't wash out the quantum effect you are talking about... Just not possible on a portable system...

    2. Re:What about double-slit experiment? by Creepy+Crawler · · Score: 1

      >>>>>>Where to begin... For starters, the double slit experiment, to see the neat effects of single electron interference, must be done in a vacuum. The electorns must not be influenced by anything else at all, like air/gas molecules. Also, it must be done at temperatures near absolute zero, where the thermal bath of the environment doesn't wash out the quantum effect you are talking about... Just not possible on a portable system...

      It's just as portable as those nifty Lava Lamps ;-)

      --
    3. Re:What about double-slit experiment? by dschuetz · · Score: 1

      For starters, the double slit experiment, to see the neat effects of single electron interference, must be done in a vacuum. The electorns must not be influenced by anything else at all, like air/gas molecules. Also, it must be done at temperatures near absolute zero, where the thermal bath of the environment doesn't wash out the quantum effect you are talking about...

      Ermm...

      I'm not talking about electrons, but photons. Yes, you probably want to do it in an environment without any interference, but if it's sealed in a chip package, that'll be pretty close to a dark vacuum.

      But even in normal, everyday conditions, it can work with very few of the measures you suggest. I've seen it demonstrated in a physics lecture hall -- certainly not a vacuum or at absolute zero.

      Unless, of course, you're a troll, in which case, ding, you got me. Jerk. :)

    4. Re:What about double-slit experiment? by zeotherm · · Score: 1

      The electrons was a miss type, I meant to use photons. Yes, this can easily be done in a physuics lecture hall, but the interference generated by shining a light through two slits can easily be computed, and therefore will not be too random. The single PHOTON experiment, will be random, I beleive, but the nessecary state at which it must be carried out is not too random.

    5. Re:What about double-slit experiment? by Stuntmonkey · · Score: 1

      I've always wondered if the double-slit experiment, in a particle mode, would be a good way to generate random numbers.

      These would certainly be random numbers in the strongest possible sense (quantum randomness). Couple of comments:

      1) It will generally be biased to favor 0's or 1's, since each detector won't be equally illuminated. You minimize this with optical alignment, but it will always be there in some degree. This bias is a potential source of weakness, and no amount of hashing or other obfuscation really eliminates it. (Note: most other techniques, including lava lamps, share this weakness.)

      2) There are easier ways of doing it. For example, the double slit isn't needed; a simple defocusing lens on a laser, illuminating two detectors would do the same thing. Or you could use a 50/50 beamsplitter and two detectors.

    6. Re:What about double-slit experiment? by Sparr0 · · Score: 1

      In 50 years this post will be the equivalent of "640K ought to be enough for anyone". :)

    7. Re:What about double-slit experiment? by Omnifarious · · Score: 1

      Actually, a better way would be to have two polarized filters at 90 degrees to eachother, and send your photons through that. If the light source is of random polarization, each photon has a 25% chance it will make it through. But which photon makes it through is random.

      Even if the light source isn't randomly polarized, only 50% of the photons that make it through the first filter will make it through the second, and that _will_ be a complete random 50%.

    8. Re:What about double-slit experiment? by Natchswing · · Score: 1
      > must be done in a vacuum. The electorns must not be influenced by anything else at all, like air/gas molecules.

      When you find this perfect vacuum, no matter how (non)portable, let me know.

  40. Oh, you mean that kind of portable by Elbelow · · Score: 1

    When I read the first instance of the word "portable" I thought "How hard could it be to port this kind of code to another platform?" It was only on reading the second instance that I realized they meant the good old-fashioned real-world lugging-things-about portability :-).

    Spending time in specialized fields really tends to change the meaning of common words.

  41. Portability by peterpi · · Score: 1
    "...it required special SGI hardware and software along with six lava lamps, and the solution wasn't portable."

    No shit, Sherlock! Can you imagine lugging six lava lamps and an SGI box round with your powerbook?

  42. The bottom line is by reboot246 · · Score: 0

    that only God can choose a random number.

    Random to us, not to God, of course.

    1. Re:The bottom line is by Anonymous Coward · · Score: 0

      I hope you're joking.

    2. Re:The bottom line is by gatkinso · · Score: 1, Insightful

      It IS interesting: the concept that even numbers do not have free will.

      --
      I am very small, utmostly microscopic.
    3. Re:The bottom line is by JudgeDredd · · Score: 1

      But odd ones do? What are you talking about?

      :)

  43. Slashdot Random # Generator by WwWonka · · Score: 0

    ...my idea for an open source number generator is to have people on slashdot post the first number that comes to mind in this thread.

    Ok, got one. It's on my hand behind my back AND it's not the first two fingers or the last two fingers.

  44. Sounds too complicated by E_elven · · Score: 1

    How about just pseudo-randomly snagging LAN IP packets and pseudo-randomly extracting bytes from those? E

    --
    Marxist evolution is just N generations away!
    1. Re:Sounds too complicated by bobbotron · · Score: 0


      Because someone could determine the pseudo-random algorithm your random number generator, and start sending out bogus packets to set your generator off.
      </paranoid>

      Er, or if your PC isn't connected to a network / doesn't have any net traffic.

  45. sources of noise by Anonymous Coward · · Score: 0

    Resistors produce electrical whitenoise with just a little current pushed through them. Why not sample a solid-state whitenoise source, instead of going to all this trouble with cameras and lava lamps?

    Simple solutions are better.

  46. ObHHG by red+floyd · · Score: 2, Funny

    , no matter how improbable that was

    Ford, you're turning into a penguin. Stop it.

    --
    The only reason we have the rights we have is that people just like us died to gain those rights. -- Cheerio Boy
  47. This might sound crazy... by Geek+of+Tech · · Score: 1
    How about this...

    Would it be possible to do something like get a blank CDR, scratch it up with a brillo pad and then have software that would try and read from point A to point B even though there were no files? All the scratchs would render parts of the CD unreflective. The same as seeing a stream of 0s. The part that was not scratched would still be reflective, making it a 1. Cheap, extremely portable, and the chances of doing it the exact same way twice are almost NULL.

    When you're done, just microwave the CD-R.

    --
    Stop the Slashdot effect! Don't read the articles!
  48. Why not use a simple ZENER DIODE by melted · · Score: 2, Interesting

    This will produce a truly random signal (white noise) which is completely unpredictable. $0.05 solution + $2-5 in external components is all you need.

  49. Analog is NOT the key by arth1 · · Score: 1

    No, analog is NOT the key. You know that an analog source can't jump from the lowest possible value to the highest possible value in an instant, like is required for truly randomness.

    The value of the lava lamp is that it's very unpredictable -- the changes are minor, but how they occur is not predictable, meaning it's a good source as parts of seeding a random number generator.

    Regards,
    --
    *Art

    1. Re:Analog is NOT the key by slimak · · Score: 2, Insightful

      Actaully it can't change instantaneously (in no time), which shouldn't matter since you can't sample this analog source infinitely fine anyway. Provided your sampling period is large enough the samples could change from lowest to highest in a single sample.

    2. Re:Analog is NOT the key by Anonymous Coward · · Score: 0

      > No, analog is NOT the key. You know that an analog source can't jump from the lowest possible value to the highest possible value in an instant, like is required for truly randomness.

      That is why you should hash the data somehow before using it. For example, use only the low-order bits. You CAN get random numbers from an analog source, because you get as many bits of entropy as you can measure (potentially unlimited.)

  50. Simple truly random number generator by Anonymous Coward · · Score: 0

    There's a very simple truly random number generator.

    Give me a seed number. Say, n=100302. Give me an irrational number (e, pi, the square root of any prime, e^sqrt(2), any irrational will do). For the sake of argument, say, the number is I=pi.

    The first random number is the nth digit of I.
    The second random number is the n+1st digit of I.
    The third random number is the n+3st digit of I.
    And so on....

    This sequence is provably random and it's easy to generate. Of course, if I know your seed and irrational number, I can figure out the next number in your sequence, but you should be able to keep those secret, especially if your algorithm is embedded in a chip. It could use the initial power-up time of the chip as the seed and the initial power-up temperature to select the irrational number.

    1. Re:Simple truly random number generator by Anonymous Coward · · Score: 0

      Take PI: 3.141592653589793238462643383279502884197169399375 1058209749445923078164062862
      There are precisely 10 different "random" sequences you can get, starting with 0...9.
      0: 341111111111111111111111...
      1: 111111111111111111111111...
      2: 411111111111111111111111...
      3: 111111111111111111111111...
      4: 593411111111111111111111...
      5: 934111111111111111111111...
      6: 241111111111111111111111...
      7: 624111111111111111111111...
      8: 593411111111111111111111...
      9: 311111111111111111111111...
      10: 593411111111111111111111...
      11: 859341111111111111111111...
      12: 931111111111111111111111...
      13: 762411111111111111111111...
      Higher seeds will only create duplicates. In a hunch I'd say: don't use for cryptography (or board games).

    2. Re:Simple truly random number generator by NortWind · · Score: 1

      Hey! You left off the last 1,000,000 digits of PI!

  51. How many of us need a lava lamp... by Bridog · · Score: 1

    ... when the bsd libc random generator only fails their test-suite 22% more often than LavaRnd; that's only 0.215% failure, in any case. This, to me, is an encouraging thought, especially when I only need to generate PGP keys. Generating presidential election data, on the other hand...

    --
    Most likely the #1 Unfunny Meta/Moderator on /.!
  52. Arbitrary, not random by The+Famous+Brett+Wat · · Score: 3, Insightful
    which of the following isn't a random set of numbers

    Answer: none of them were random; all of them chosen by you off the top of your head. There are important mathematical differences between these two cases. What you have given is sets of "arbitrary" numbers, rather than "random" numbers.

    Now, if you'd asked which of the sets could be generated randomly, then the answer is all of them, given a generator function with the correct output range.

    --
    proof, n. A demonstration that a conclusion is implied by certain premises and axioms.
  53. Random Favicon? by rwiedower · · Score: 1

    What's up with the favicon that lavarnd is using? I don't get it...it seems totally random.

    1. Re:Random Favicon? by im_calvin · · Score: 1

      It is because one of the co-authors (Landon) of the lavarnd code likes bats.

  54. I for one.... by Phosphor3k · · Score: 1

    ....welcome our new Lavalamp overlords.

  55. goatse by Anonymous Coward · · Score: 0

    goatse

  56. Other uses by tsa · · Score: 1

    Who cares about security. Games are more important! Truly random numbers can enhance the gameplay for some games no end. And another good use: I have xv pick a random picture from a directory to use as background image every time I start my machine up. I soon noticed that some pictures appear more often than others. So maybe someone can use this random number generator in xv, please!

    --

    -- Cheers!

  57. Good ole' radiation by Fishead · · Score: 2, Insightful

    What about radiation? I remember way back in physics using a piece of radioactive material in front of a sensor connected to a computer to generate a large number of random numbers. It would be fairly easy to use a small piece of Californium such as is in a smoke detector connected to a sensor. The time between radioactive particles should be random enough and it is small enough to fit anywhere.

    1. Re:Good ole' radiation by Detritus · · Score: 1

      I've used this technique in a random number generator. Smoke detectors are a cheap and available source of radioactive material. Aware Electronics sells relatively inexpensive Geiger counters that have PC interfaces. Add a small program to measure times in between radioactive decays. It t0 is greater than t1, generate a 1. if t0 is less than t1, generate a 0. Repeat forever.

      --
      Mea navis aericumbens anguillis abundat
  58. Nice number by lupo_wot · · Score: 1

    By the way, how do you know my birthday? :)

    1. Re:Nice number by wideBlueSkies · · Score: 1

      Which number 2/1/12? (Feb 1 1912)

      Welcome to /. old-timer! :)

      wbs.

      --
      Huh?
    2. Re:Nice number by lupo_wot · · Score: 1

      Not exactly that, only consisting of day and month in Nordic fashion.

    3. Re:Nice number by Anonymous Coward · · Score: 0

      no, he's from the future: 2/1/2012

  59. Randomness based on loss by phorm · · Score: 2, Interesting

    How about transmitting a signal through some form of changing medium? Really, with the lavalamp approach, all that fancy webcam stuff isn't needed. How about just using a lavalamp type setup with various different floating substances (density, reflectiveness, etc) and shooting some for of beam through it at various areas - calculating the number based on the returned signal?
    You don't really need a lavalamp for this either, passing an electrical signal over a short arc-gap, perhaps filling with a changing substance would probably also product random voltage fluxation.

    Of course, the real issue is making randomness with a large range (1-100% with many many decimal points) and a large enough variability (that is, any decimal number between 1-100% having an equal opportunity for occuring at any particular interval).

    I'm thinking that in electrical and biochemical reactions there would also be a lot of randomness, the wide-universe and entropy and all considered?.

    1. Re:Randomness based on loss by Cyno · · Score: 1

      How about we choose a pixel off the webcam's picture, aiming the camera at a TV that's playing CNN News, it has to be CNN, won't work with anything else. Anyway, use /dev/random to grab the location of the pixel and store its color value to check against, to make sure its changing. If you use CNN it will be truely random!

  60. This reminds me of an anecdote by melted · · Score: 1

    When Americans firs flew a man to space they've discovered that ball pens don't work in zero gravity. NASA received a $100M grant to develop a pen which would work there. Ten years and hundred million dollars later such a pen was developed and it worked just fine. Russians just used pencils. :0)

  61. sampling by siskbc · · Score: 1
    You are correct that white noise can produce appropriately random numbers.

    By definition, white noise is completely random. The question is whether the noise is completely white. ;)

    The problem is that for encryption purposes you may need some huge random numbers. If you want to do that from an analog solution you'll have to take your samples closer and closer together, until the numbers become less random. If you start sampling sound 1 million times a second, any two values next to each other my be really close and actually predictable.

    One solution to that is to only keep the least significant digits from any measurement. So if I take a 32-bit floating-point measurement, I would keep, say, only the last four bits. Increases the sampling requirements but helps the randomness.

    --

    -Looking for a job as a materials chemist or multivariat

    1. Re:sampling by Anonymous Coward · · Score: 0
      By definition, white noise is completely random.

      Sorry to spoil your fun.

  62. whatch_durrin vs. VIA by henele · · Score: 4, Interesting
    From an article on VIA's Antaur processor...

    "The Antaur also ships with Via's "Padlock" feature, a random-number generator that actually produces "true" random numbers by measuring random components of the thermal energy produced by the chip, according to its designer, Glenn Henry. RNG generators can be used to develop true randomized cryptographic keys."

    1. Re:whatch_durrin vs. VIA by Reverend528 · · Score: 1

      I have something that on my computer.
      cat /proc/acpi/thermal_zone/THRM/temperature
      61 C

  63. *scowl* by Theatetus · · Score: 0, Redundant
    'Truly' random numbers? wtf does that mean anyways?

    Is 2 a 'truly' random number or is it only fakely random?

    --
    All's true that is mistrusted
    1. Re:*scowl* by saskwach · · Score: 1

      That depends on the probability of the next number you say being 2. If it is exactly the same as the next number you pick being [0-9]*, then yes, 2 is a 'truly random' number. The randomness of a number is not determined by the number itself, but by the method used to pick the number.

  64. "randomness" by heh2k · · Score: 1

    just means you lack the information to guess the next event. given enough information, nothing appears random. for example: people used to think storms were random (or "god's will"), but now we know how they're caused.

    1. Re:"randomness" by Anonymous Coward · · Score: 0

      given enough information, nothing appears random

      Yeah, dude. Tell me why my wife's moods randomly move back and forth through some Lorenztian wormhole-hell!!!

  65. Why arent random number random? by peripatetic_bum · · Score: 1

    Could someone explain to me why it is so hard to make random numbers?

    Thanks!

    --

    Sigs are dangerous coy things

    1. Re:Why arent random number random? by Anonymous Coward · · Score: 0

      A computer has to use an algorithm to generate them. For example, f(x) = y, for every x you plug in, you will always get the same y. So you use a seed as part of the algorithm to give it pseudo-randomness. It is pseudo because (don't quote me) no matter what number is used as the seed, there are only so many 'random numbers' before the pattern repeats. IMO, i think even white noise and lavalamps will eventually repeat... just not in our life time.

      But a question I have is how random are we? Have you ever written out random numbers between 1-100. I always start to repeat certain numbers.

      - Jonathan King
      jking@linus.highpoint.edu

  66. It's been done by sheetsda · · Score: 1

    I believe that technique is called "packet sniffing".

    Grabbing the packets themselves I wouldn't go for, it'd create a sort of race condition/replay attack combination that could cause the same numbers to be generated if you hit it just right. What about the variation on a ground wire or the imperfections on the bit signals? All sorts of unpredictable crap influencing that.
    Also, when was the last time someone exploited a weakness in a random number generator to crack encryption? I've never heard of this being done.

    1. Re:It's been done by Zachary+Kessin · · Score: 1

      I'm not sure I have heard of someone using a bad random number generator to crack encryption, but in theory it could happen. However scientific computing and many other things use random numbers as well, and many of those applications need solid random numbers.

      --
      Erlang Developer and podcaster
  67. It's a hardware problem by geekee · · Score: 1

    I think you're putting the horse before the cart. The 1st thing you need, as several people have already mentioned is a noise source whose statistcal characteristics are understood. A good source might be resistor noise, shot noise, noise during avalanche breakdown, etc. That, along with the appropriate amplification and a a/d converter on a motherboard are needed first. Once you get the motherboard manufacturers on-board with this idea, then the software to open source software to generate random numbers is trivial.

    --
    Vote for Pedro
  68. SGI's new buisiness angle by umrgregg · · Score: 1

    In other news, SGI announced today that it will be entering the retail market with a new line of products and a new subsidiary called Sweet Grass Inc. Their product line includes items from the 60's charged at outrageously high prices and will be sold in head-shops nation wide. One S.G.Inc. board member explained, "Man, like, when you use our lava lamps and, like, one of our epileptic inducing screen savers on our workstation and, man, turn off your lights, it's like, Woah." Other executives were to busy eating Ho-Ho's to comment. Expect S.G.Incs product line in time for holiday season 2003.

    --
    NMG
    1. Re:SGI's new buisiness angle by green+pizza · · Score: 1

      Sweet Grass Inc would certainly explain the buildings on SGI's old campus and may also explain their total lack of marketing since 1993 and their lack of engineering from 1998 - 2001.

  69. Where does this count? by jfmiller · · Score: 1

    IANACE

    Can anyone give an example of a case where "real world" encryption was cracked do to psudo-random numbers being broken?

    It has been my experence that using these inovative solutions to improve one end of secure comminications does not help in the least a whole host of other more easily exploited flaws. For example even a theoretically perfect encryption is still vulnerable to social engineering.

    An impenitrable front door is usless next to an open window.

    JFMILLER

    --
    Strive to make your client happy, not necessarly give them what they ask for
  70. OK, not 'truly' random by Theatetus · · Score: 1
    The system uses a saturated CCD in a light-tight can as a chaotic source to produce the seed. Software processes the result into truly random numbers in a variety of formats
    How is that "truly" random? Somehow it's metaphysically impossible to predict what the CCD will do?
    --
    All's true that is mistrusted
  71. Random numbers? Bah! Who needs 'em? by g_adams27 · · Score: 1

    I think it's much more important to have a source of deterministic non-random numbers. And fortunately someone has stepped up to the plate with a solution!

  72. Truly Random by Bigby · · Score: 1

    Correct me if I'm wrong, but "truly random" numbers are not just practically impossible, but ARE impossible. Everything (including natural effects) can approach randomness, but never be TRULY random. Everything follows a pattern in some way, even radiation.

    1. Re:Truly Random by JShadow · · Score: 1

      Exactly right. The Mandelbrot set is the perfect example: http://aleph0.clarku.edu/~djoyce/julia/explorer.ht ml
      The only thing these methods do is increase the improbability of getting 2 numbers the same. Most of the methods used create numbers with probabilities of .000000001% of being reproduced.

    2. Re:Truly Random by ken_mcneil · · Score: 1

      According to physics a hundred years ago, yes, but quantum mechanics says differently.

  73. No, I mean THIS kind of portable by tds67 · · Score: 1
    ...It was only on reading the second instance that I realized they meant the good old-fashioned real-world lugging-things-about portability.

    For a good example of a portability, check out this kind of portable. Just about anything can be portable these days.

  74. Paranoid?? by ocie · · Score: 4, Funny

    the truly paranoid can take it with them when they travel.

    Oh, that just what you'd want us to do isn't it???

    --
    JET Program: see Japan, meet intere
    1. Re:Paranoid?? by Anonymous Coward · · Score: 0
      the truly paranoid can take it with them when they travel.

      Oh, that just what you'd want us to do isn't it???

      Being truly paranoid, I will randomly use a number from a random source to determine if I take it with me when I travel or not.

  75. Coolness aside by D0wnsp0ut · · Score: 1

    What about Hotbits? http://www.fourmilab.ch/hotbits/

    --
    "Those who would sacrifice liberty for security deserve neither!"
  76. A better solution... by PSaltyDS · · Score: 1

    1. Get a brush.

    2. Brush Schrodinger's cat.

    3. Count the hairs in the brush.

    4. Patent stupid idea.

    5. Profit!

    BTW, how do you make the square brackets "[site]" after a web link go away in your post?

    --
    Any technology distinguishable from magic is insufficiently advanced. - Geek's corollary to Clarke's law
    1. Re:A better solution... by valkraider · · Score: 1

      You can't. It is to help protect people from links saying they are to something useful but really to Goatse. It is better for us all. You *can* however change your viewing settings to not show them, in the slash user preferences. That of course requires you to login, so ACs always have to deal with the default settings.

    2. Re:A better solution... by Anonymous Coward · · Score: 0
      BTW, how do you make the square brackets "[site]" after a web link go away in your post?

      Slashdot->preferences->comments->Display Link Domains?

  77. Status of resistor-based solutions? by Thinkit3 · · Score: 1

    That seems more elegant certainly than an external webcam or lava lamp. I'm not sure what happened to these that were supposed to be on Intel chipsets.

    --
    -Libertarian secular transhumanist
  78. What's the big deal by Anonymous Coward · · Score: 0

    Why use crazy lava lamps to make random numbers when you can simply do:

    int randomNum;

    srand(1);
    randomNum = rand();

    Boy, those lava lamp people are sure going to feel stupid after they read this post.

  79. unprecedented evile franchisee bids fare well by Anonymous Coward · · Score: 0

    looks like billy & burgIE are a step ahead of the crowd. 2003-08-08 GATES, WILLIAM H. III Chairman 1,000,000 Sale at $25.58 - $25.88 per share. (Proceeds of about $25,730,000) 2003-08-07 GATES, WILLIAM H. III Chairman 1,000,000 Sale at $25.49 - $25.78 per share. (Proceeds of about $25,635,000) 2003-08-06 GATES, WILLIAM H. III Chairman 1,000,000 Planned Sale (Estimated proceeds of $25,660,000) 2003-08-06 GATES, WILLIAM H. III Chairman 325,246 Sale at $25.851 - $26.03 per share. (Proceeds of about $8,437,000) 2003-08-06 GATES, WILLIAM H. III Chairman 231,336 Sale at $26.04 - $26.16 per share. (Proceeds of about $6,038,000) 2003-08-06 GATES, WILLIAM H. III Chairman 443,418 Sale at $25.64 - $25.85 per share. (Proceeds of about $11,416,000) 2003-08-05 GATES, WILLIAM H. III Chairman 1,000,000 Planned Sale (Estimated proceeds of $26,180,000) 2003-08-05 SHIRLEY, JON A. Director 46,500 Automatic Sale at $26.50 per share. (Proceeds of $1,232,250) 2003-08-05 SHIRLEY, JON A. Director 87,089 Disposition (Non Open Market) at $0 per share. 2003-08-05 GATES, WILLIAM H. III Chairman 573,443 Sale at $26.014 - $26.22 per share. (Proceeds of about $14,977,000) 2003-08-05 GATES, WILLIAM H. III Chairman 113,557 Sale at $26.2222 - $26.28 per share. (Proceeds of about $2,981,000) 2003-08-05 GATES, WILLIAM H. III Chairman 313,000 Sale at $25.79 - $26.011 per share. (Proceeds of about $8,107,000) 2003-08-05 COLE, DAVID WAYNE Senior Vice President 441,200 Option Exercise at $5.6563 per share. (Cost of $2,495,559) 2003-08-05 COLE, DAVID WAYNE Senior Vice President 441,189 Sale at $26.10 - $26.244 per share. (Proceeds of about $11,547,000) 2003-08-04 GATES, WILLIAM H. III Chairman 2,000,000 Planned Sale (Estimated proceeds of $52,340,000) 2003-08-04 GATES, WILLIAM H. III Chairman 100,000 Sale at $26.33 - $26.38 per share. (Proceeds of about $2,635,000) 2003-08-04 GATES, WILLIAM H. III Chairman 1,900,000 Sale at $25.79 - $26.32 per share. (Proceeds of about $49,505,000) 2003-08-01 COURTOIS, JEAN-PHILE Senior Vice President 272 Sale at $26.29 per share. (Proceeds of $7,150) 2003-08-01 GATES, WILLIAM H. III Chairman 32,550 Sale at $26.36 - $26.38 per share. (Proceeds of about $858,000) 2003-08-01 GATES, WILLIAM H. III Chairman 650,258 Sale at $26.28 - $26.355 per share. (Proceeds of about $17,113,000) 2003-08-01 GATES, WILLIAM H. III Chairman 317,192 Sale at $26.155 - $26.2763 per share. (Proceeds of about $8,315,000) 2003-08-01 SHIRLEY, JON A. Director 46,500 Automatic Sale at $26.35 - $26.4 per share. (Proceeds of about $1,226,000) 2003-07-31 BACH, ROBERT JOSEPH Senior Vice President 20,000 Option Exercise at $5.6563 per share. (Cost of $113,126) 2003-07-31 BACH, ROBERT JOSEPH Senior Vice President 20,000 Sale at $26.88 - $26.91 per share. (Proceeds of about $538,000) 2003-07-31 GATES, WILLIAM H. III Chairman 1,000,000 Sale at $26.4274 - $26.605 per share. (Proceeds of about $26,516,000) 2003-07-31 BURGUM, DOUGLAS J. Senior Vice President 50,000 Sale at $26.91 - $26.97 per share. (Proceeds of about $1,347,000) 2003-07-31 GATES, WILLIAM H. III Chairman 1,000,000 Planned Sale (Estimated proceeds of $26,230,000) 2003-07-29 GATES, WILLIAM H. III Chairman 1,000,000 Sale at $26.27 - $26.49 per share. (Proceeds of about $26,380,000) 2003-07-29 SHIRLEY, JON A. Director 81,815 Disposition (Non Open Market) at $0 per share. 2003-07-29 GATES, WILLIAM H. III Chairman 1,000,000 Planned Sale (Estimated proceeds of $26,610,000) 2003-07-28 SHIRLEY, JON A. Director 1,500,000 Disposition (Non Open Market) at $0 per share. 2003-07-28 GATES, WILLIAM H. III Chairman 1,000,000 Sale at $26.54 - $26.8739 per share. (Proceeds of about $26,707,000) 2003-07-28 BURGUM, DOUGLAS J. Senior Vice President 59,729 Sale at $26.74 - $26.84 per share. (Proceeds of about $1,600,000) 2003-07-28 GATES, WILLIAM H. III Chairman 1,000,000 Planned Sale (Estimated proceeds of $26,890,000) 2003-07-25 GATES, WILLIAM H. III Chairman 1,000,000 Sale at $26.52 - $26.64 per share. (Proceeds of about $26,580,000) 2003-07-25 BURGUM, DOUGLAS J 159,729 Planned Sale (Estimated proceeds of $4,295,112)

  80. Different objectives by m11533 · · Score: 4, Informative

    The original motivation for random number generators was simulation. One of the early mainframes, and I am afraid I forget which one, included a true random number generator. It was an unexpected disaster, totally unusable for simulation and other then-state-of-the-art users of random numbers. They were "too random".

    It turns out that for an experiment to be useful it need to be repeatable. Thus, it was critical that users be able to repeat the sequence of "random" numbers. Thus the reason why all random number mechanisms permit you to set the seed... otherwise they could just use a sufficiently random seed and life would be good.

    Another aspect of random number is that they must not only be "random", but they need to have a well defined distribution over the range of possible values. You might assume it is desirable to have a linear distribution, which IS useful in some settings, but other distributions ("bell curve", and exponential come to mind) are also extremely useful.

    IF one has a real need for truly random numbers, the source for those number does need to perform to a certain distribution over the range of possible values. And it can not be used to the exclusion of the existing techniques which have been extremely useful in their intended problem domains. This is really just another case of a good solution in one problem domain being used in another without its underlying foundation being examined for applicability to that new problem domain.

    1. Re:Different objectives by iantri · · Score: 1

      Err.. first of all, I was under the understanding that you can't have TRULY random numbers, as it has to be affected by SOMETHING to get numbers, and though the pattern is very complex, there is one.

      Secondly, what do you mean it would be bad to have 'truly' (or good pseudo-) random numbers? If you are doing something security related, why is it good to be able to duplicate the process again?

    2. Re:Different objectives by m11533 · · Score: 1

      Maybe I was unclear... I meant that a security related random number generator should not be built to the exclusion of a more traditional random number generator as to do so would render applications such as simulations invalid and useless.

    3. Re:Different objectives by zorander · · Score: 2, Informative

      Simulation != Cryptography

    4. Re:Different objectives by m11533 · · Score: 1

      Correct, BUT random numbers are used in both problem domains. We just need to be very careful to treat them independently.

    5. Re:Different objectives by Frequency+Domain · · Score: 1
      I meant that a security related random number generator should not be built to the exclusion of a more traditional random number generator as to do so would render applications such as simulations invalid and useless.

      One doesn't exclude the other. I do simulation work, just yesterday I was offered trial access to a prototype hardware board. I declined because a patented hardware generator doesn't meet my needs of portability (for peer review); known distributional properties (I can transform uniform random numbers into anything else I want, but they must be uniformly distributed); and replicability (imagine trying to debug a model where you can't repeat errors! plus there are certain experimental designs which can benefit from re-using pseudo-random numbers (PRNs) in carefully structured ways). Had I installed the board, it wouldn't have interfered with my ability to use software PRN generators. However, while the hardware generator may be the greatest thing since sliced bread for encryption, for me there was no value added and several drawbacks in accepting the board.

    6. Re:Different objectives by Anonymous Coward · · Score: 0

      > Another aspect of random number is that they must not only be "random", but they need to have a well defined distribution over the range of possible values. You might assume it is desirable to have a linear distribution, which IS useful in some settings, but other distributions ("bell curve", and exponential come to mind) are also extremely useful.

      A uniform distribution may be used to create all these other distributions (and vice versa.) Read Numerical Recipes for code.

  81. Random Numbers by neo · · Score: 1

    Check out "A New Kind of Science" for a very interesting way to genereate random numbers without external input, like lava lamps or white noise. The system works, as anyone using Mathmatica can attest. It's the same function used there.

  82. Easy solution... by jo_ham · · Score: 1

    Buy a 9600/300 Powermac, I'm sure it can create random numbers more quickly!

    Failing that, a Pentium Pro with 16Mb of RAM.

  83. Thermal Noise From Microphones by Anonymous Coward · · Score: 0

    Well of course the article's slashdotted right now so I can't RTFA, but I wonder how the quality of the randomness from this thing compares to, for example, thermal noise from a sound digitizer such as many computers have built into them.

    RFC 1750, "Randomness Recommendations for Security", has some interesting info on randomness. Regarding reading your mic port for random numbers it says,

    Combining this with compression to de-skew one can, in UNIXese,
    generate a huge amount of medium quality random data by doing

    cat /dev/audio | compress - >random-bits-file

    The benefit of doing this of course is that many (most?) computers already have a mic port.

    Anyone know if this technique is in wide use already? If not, why not?

  84. Isn't this more practical? It's been around longer by Qbertino · · Score: 1
    --
    We suffer more in our imagination than in reality. - Seneca
  85. this new system -- and ways to corrupt it by TheSHAD0W · · Score: 1

    This system is interesting, but I would be wary of any commercial solutions. It's too easy to embed a predictable PRNG in the CCD's silicon, resulting in what people *think* is an ultimate source of entropy, but instead helps the spooks unwrap your data.

    1. Re:this new system -- and ways to corrupt it by LostCluster · · Score: 1

      Being truely random isn't exactly the goal of encryption, the idea is to create a sequence that causes the person trying to decode the message can't make heads or tails of.

      Think of the codebreakers who had to break the Purple encryption scheme. The frist thing they had to do was to figure out what hit them, because standard letter frequency analysis techniques failed because all of the letters of the alphabet were being used with equal frequency in the face-value code.

      Changing the ground rules on the codebreakers will always lengthen the time it takes to crack a code. It's always hard to predict a variable when the codebreakers don't know what they're trying to predict.

    2. Re:this new system -- and ways to corrupt it by TheSHAD0W · · Score: 1

      Encryption keys, while they may be mixed with passwords, are generated using random numbers. There are several cryptanalytic attacks that rely on bad random number generation to limit the number of keys they need to test. If a commercial product supposed to be a hardware RNG actually turned out to be a PRNG, then an attacker who knew the target's keys were generated using this system -- and who had information on the sequence the PRNG was producing -- might be able to reduce the number of tests needed to crack the code from the impractical to the feasible.

    3. Re:this new system -- and ways to corrupt it by LostCluster · · Score: 1

      That's exactly my point. Using a PRNG is equally secure as an RNG so long as I don't tell you which PRNG I'm using. You can only use the shortcut of testing the more likely outcomes of my PRNG first if you know which PRNG I'm using.

      So, keeping your PRNG of choice a secret turns your PRNG into an RNG for codebreaking purposes. The codebreakers will have to solve for multiple encryption keys before they have enough keys to start looking for paterns.

  86. 503 - or how random is it? by Interesting+Username · · Score: 1
    I keep getting:
    503 Service Unavailable

    There are too many connections in use right now. Please try again later.
    I wouldn't exactly call that random.
  87. HotBits by uisqebaugh · · Score: 1

    Using the laws of quauntum mechanics and radioactive decay, someone has already come up with a truly random source. All schematics and source code are available, as well as java classes for utilizing it. Check out http://www.fourmilab.ch/hotbits/

  88. WIREDStory by KJE · · Score: 1

    This was in the last issue of WIRED

  89. Uh. by radiumhahn · · Score: 2, Funny
    I would set up my computer to use one of those tiny cameras that we keep seeing in spam, but I don't think I should rely on hot babes sneaking into my apartment and dancing nude on my bed to generate random numbers. It is a great idea tho!

    [Patent Pending]

  90. Random does not exist except as a concept. by ratfynk · · Score: 1
    There is no such thing as completely random generation algorythm. Irrational numbers are a generated infinite series of non repeating numbers. However this is not random, it is generated by a parent math formula. The only thing we can say about random generator math is that it might generate a very long repeatable sequence at a very long interval that we cannot define. Rather the same as uncertainty in quantum math. Much of this goes into an explination for the clumping of matter in the universe. Randomness is a human concept and does not exist in nature, or math. The same as concept of infinity.

    The answer to the universe and everything is 42

    --
    OH THE SHAME I fell off the wagon and use sigs again!
  91. Bogus Anecdote, Do Not Propagate by Detritus · · Score: 1
    --
    Mea navis aericumbens anguillis abundat
  92. "truly random" by dlakelan · · Score: 1

    The only "truly random" ie. completely in-principle unpredictable events are quantum events. So they're using the energy levels of electrons in an array of diodes to produce quantum noise. This noise is in fact unpredictable as long as it isn't biased in some way.

    The way to bias this noise is to use radio waves or static electric fields or some other electric effect to cause the diodes to produce 1 more often than 0 or the other way around.

    Random numbers are always run through encryption algorithms to "smooth them out" because of this possibility to bias the results. The encryption algorithm spreads the real entropy around.

    This method is not particularly more secure than the method used in /dev/random except that it's probably a little harder to tamper with.

    --
    ((lambda (x) (x x)) (lambda (x) (x x))) http://www.endpointcomputing.com a scientific approach to custom computing.
  93. Simpler ways to do this abound... by Entropius · · Score: 1

    Most setups now have a thermocouple somewhere in the case whose output is accessible to software--mine has one on the processor, for instance. It shouldn't be hard to request 5-6 digits from it and use the least significant digit(s) to generate a seed.

    Alternately, many systems can also monitor the voltage coming off the power supply. Use the fluctuations in that to generate a seed.

    The easiest way to get a truly random seed is to look for random elements in nature, and electrical line noise (from whatever source) is random and accessible.

  94. Too Perfectly obsessed by alazar · · Score: 1

    OK - standard disclaimer - I am no mathemetition but.

    It seems that there are a number of really good ideas here to suggest at least seeds for random numbers. Audio, Radio, Heat, Light, Voltage, etc. All seem quite viable, but are "discouraged" by someone being a bit too picky, or perfect. Not random enough, not secure enough, samples would be taken too quickly.

    While this may be true for a limited sample it seems to me that if you were to take all of these suggestions, and combine them in some fashion you would actually get a better random number.

    If, one of the strengths of the LavaLamp is the number of sources, the CCD sensors. By the same token, is it not a weakness that the LavaLamp it self might be predictable, given enough knowledge of the thermo-dynamics of the device. (I have not read the article yet, slashdotted)

    OK - if many sensors is good, then many sensors on many sources must be better. All of these suggestions are quite doable in a single unit.

    --
    True friends are hard to come by... I need more money. - Calvin
  95. about secure random numbers by koehn · · Score: 1

    A bunch of posters have included thier own ideas about generating random numbers like radio antennas, listening to the LAN, etc. Hell, you could use various portions of the value of pi.

    What the article is about (I think, the slashdot effect has kicked in already) is SECURE random numbers, which is a totally different topic. To be secure, the probability of the number cannot be influenced by an attacker (who could overcome any of the methods above).

    It's REALLY hard to get secure random information, because you need a source that no one else can read (which takes out radio, LAN, and pi) or influence (which takes out radio, LAN, and a ton of other things). The source of randomness itself needs to be unpredictable and secure from outside monitoring.

    IBM worked out a way to get random bits from hard drives, (not from the data on the drive, if memory serves, but from other characteristics like head float height) but to keep it random enough they could only get 6-8 bits per MINUTE from the technique.

    The wired article linked to above mentions this problem: intel's RNG built into hardware can only provide about 70kbps of random data. If you over-sample your analog source, the data becomes predictable. The camera CCD is great, because it's so easy to get, and outputs so much data.

    This sig isn't here.

  96. Use cheap radio receiver by JShadow · · Score: 1

    I've used several ways to create really good random numbers, though I've never tested to see if they were PERFECTLY random.

    1) use a crappy capacitor. Measure the time it takes for the thing to charge/discharge, the concept here is that because the capacitor is junk the discharge rate will never be the same. Any change in temperature, or even air pressure, would affect the time. Take the least siginificant bit and rotate it into a byte, do that 128 times to get a nice big 128 bit random number. Of course, I found that in some conditions it would take a couple seconds to complete even a 16 bit number

    2) My most recent application has used a radio receiver. Measure the time between two rising(or falling) edges on the digital receive lines. Doesn't matter if there's modulated data or if it's noise, the time is always different, at least if you're timing it in 100 nano-second increments. Again, take the least significant bit from each time and rotate it into your number. So you take 128 samples and you have a 128 bit random number. This method is typically VERY fast, since noise is usually picked up as fast as the receiver can get it, so timing between two rising edges is around 2-5 micro seconds. Best thing is, if I find a channel that isn't producing good results, I just change channels! :D

    I've taken a lot of samples using the radio method, and it's results were better than the capacitor EVER was. With bluetooth and all these other cheapo radio chips coming out, and microchips for ATMEL being so cheap and so good, I would think someone could easily create a really cheap hardware random number generator that could plug into your usb port. But what do I know? :D

  97. Problem by Anonymous Coward · · Score: 0

    I am an avid amatuer astronomer as well as an anonymous coward lurking on slashdot. The point to my confessing to be an amatuer astronomer is that I use several SBIG CCD cameras for astro imaging. CCD cameras do not generate totaly random noise in a black box. To the contrary, over several samples, it is statistically possible (and done very often) to calulate which pixels are likely to give noise. I use a black box to "tar" the system so I can subtract out the pixels most likely to be noise in my images. They must do something similiar and then look for the other pixels if this is to be effective.

    Just my 2 Cents.

  98. Probably wrong! by photonic · · Score: 1

    I have never completely understood those quantum-mechanic courses i had, especially since your intuition always fails you.

    Anyhow, my feeling says that your proposal does not work. When you place a detector behind each slit there is no longer any interference between the two slits. What you end up with is a system that measures single photons at two different places (which could give random results, depending on the source but for another reason.)

    If i recall correctly you can't see the photons as loose particles, but you have to think in wave-functions, which can tunnel trough two slits at the same time. Blocking one slit with a detector spoils the whole interference thing.

    --
    karma police: arrest this man, he talks in maths; he buzzes like a fridge, he's like a detuned radio. [radiohead]
  99. Modded Funny? by Anonymous Coward · · Score: 0

    Shouldn't that be informative or insightful? Maybe my sense of humor just isn't what it used to be...

  100. I have an Idea by adamshelley · · Score: 0

    why don't you just use white noise AND a lavalamp unpredictable characteristics. You might have to use key press timing to pseudorandomly chose a pseudorandom number from the two pseudorandom producers pseudorandomly. Then for performance, add several lava lamps of difference sizes and several input sources for white noise.

    Actually, wait... This may be too predictable for you. You might hate to place the lavalamps on a water bed (with some fire proof sheeting, lavalamps are hot) and place the mics at various locations of the bed.

    but if that isn't enough, maybe you should just get one of those new intel boards when the come out.

  101. Re:This _is_ crazy... by insecuritiez · · Score: 2, Informative

    The system you propose is a form of one time pad. While it works in theory, it is not the application needed here. Random numbers are needed in streams where there can be no pattern known or logical pattern findable. How many ways can you think to scratch a CD? Up and down, right and left, circles? With this sort of information you could start to predict the general "form" of the number. Besides, when you need a stream of numbers it needs to change over time. The CD is scratch once use once.

  102. ccd noise? by DrinkDr.Pepper · · Score: 1

    I can't seem to get to the article so I'll ask this question that has probably already been answered anyway. I have a digital camera and as it heats up the amount of noise increases, however the pixels most affected by noise tend to be in the same place on every picture. Thats how taking a dark-frame and subtracting can make the pictures look better. So how could the noise on the ccd be used to generate a random number, when the noise tends toward the same pixels?

    --
    0xfeedface
  103. This project doesn't use lava lamps! by Gregoyle · · Score: 1

    Hey guys, just to gripe:

    This project doesn't use lava lamps! It is made by some of the people who worked on a project that did. That technique is patented, and used by the company that made it to form the basis of a pay service for random numbers.

    The "new" thing about the project is that it uses a normal webcam on your own system (with the lens cap on ;-)). This makes it so anyone can get random numbers of a similar quality to the ones being sold for buku money. This is Pretty Damned Cool.

    --

    "He's more machine now than man, twisted and evil."

  104. Idea! by insecuritiez · · Score: 1

    How about the time between Windows crashes? Oh wait, that is predictable after all! What about if we just measure the 50% that are not the fault of third party code? Damn, predictable again!

  105. Why *lave lamps?* by edunbar93 · · Score: 1

    I once read that one of the best sources of random numbers was from the background radiation of space. And it's really easy to gather as well: you just tune a radio (or better yet point a dish, as someone could potentially un-random it by broadcasting) to a station that isn't used and hit "record."

    This method is fantasticly simpler than setting up a webcam to watch 6 lava lamps.

    --
    "No problem. I have the capacity to do infinite work so long as you don't mind that my quality approaches zero."-Dilbert
  106. Re: not quite - radio can't be duplicated by JShadow · · Score: 1

    Actually, that's incorrect. At least on the radio side it is. I know, I've tried to get two receivers to get the same numbers listening to the same channel. It was, as with all randomness, impossible for me to do in 2 days of testing. The reason being that the radio waves are being affected by the air, the reflections from walls, the physical proximity to the transmitter. I concluded that in order for them both to come up with the same numbers, they'd have to be in ultra close proximity to each other physically, they'd have to start listening on the same channel at the EXACT same time. So for someone to duplicate the number they'd really need to be in the same physical place as the one creating the number. Even if the attacker was on the same channel, it would still be physically impossible to duplicate the number. In this way the only way an attacker could influence the outcome would be to modulate ALL the channels so that what comes out of the digital receive is zeros. But since that would be something checked by the processor creating the number, it would be reported to the user and the user would KNOW someone is screwing with him

  107. Cryptographic Strong Random Number Generators by plcurechax · · Score: 2, Informative

    When designing and building a physical cryptographic strong random number generator (CSRNG, not CSPRNG) you are looking for many things including:

    * a uniform or near uniform distribution of the output.
    * it must be unpredictable
    * it should be very hard / impossible for attacker to influence the output of the CSRNG.

    The first two are reasonably easy with physical RNG, but the last one is the kicker when it comes to actually implementing the CSRNG.

    The attacker shouldn't be able to influence it by poking a pin-hole in the case (of a light sealed chamber around the CCD), or putting a heat source next a lava lamp (so the goo stays at the top)

  108. Rail timetable by Gandalf1957 · · Score: 1

    Always found my British Rail timetable perfectly sufficient thanks.

  109. Better method by dr_dank · · Score: 1

    Since strong crypto requires large random numbers for seed, why not use our greatest resource for large random numbers: the RIAA?

    Crypto Guy: Ummm, I have a bunch of Metallica and Limp Bizkit MP3's, how much financial damage is that?

    MPAA: Eleventy-seventy jillion dollars!

    --
    Where does the school board find them and why do they keep sending them to ME?
  110. A good random seed by Anonymous Coward · · Score: 0

    Couldn't we just use the Bush adminitration's latest IRAQ excuse as a good random seed?

  111. Microchip sized compact random number seed by n1ywb · · Score: 1

    Maybe someone's beaten me to this (probably, haven't all the good ideas already been thought of?)

    Use a superprecise (note precise, accuracy doesn't matter worth a damn) A/D converter and a thermister. A 128 bit A/D can be made quite cheaply on an IC if you don't care about accuracy or sample rate. Chop off several of the most significant bits. There you've got a nice big randseed. Feed that into your psuedorandom algorithm and update it frequently. Christ if that isn't random enough for you, you've got problems.

    Then again, pseudo random algorithms can use quite a bit of CPU time. What volume of numbers are we looking at here? I suppse the CCD camera idea could probably generate a higher bandwidth of random numbers since it's actually generating the numbers, not just a randseed.

    --
    -73, de n1ywb
    www.n1ywb.com
  112. The way to make a strongly random bit by TerryAtWork · · Score: 1

    is to xor a power of 2 not so random bits.

    Math and discussion at

    http://irresponsiblecybernetics.com/phorum/read. ph p?f=1&i=3623&t=3623

    --
    It's Christmas everyday with BitTorrent.
  113. You forgot the second part of the algorithm.... by Anonymous Coward · · Score: 0

    Sort of. Higher seeds will create subsequences.
    But the algorithm also involves random irrationals, so it generates:

    10 true sequences for PI
    10 true sequences for sqrt(2)
    10 true sequences for sqrt(3)
    10 true sequences for sqrt(5)
    10 true sequences for sqrt(7)
    10 true sequences for sqrt(11)
    10 true sequences for sqrt(13)
    10 true sequences for sqrt(17) ....
    10 true sequences for sqrt(really big prime)
    10 true sequences for E
    10 true sequences for E^2
    10 true sequences for E^3 ...
    10 true sequences for pi^(really big number)
    10 true sequences for pi
    10 true sequences for pi^2
    10 true sequences for pi^3 ...
    10 true sequences for (e*pi)^(really big number)
    10 true sequences for (e*pi)
    10 true sequences for (e*pi)^2
    10 true sequences for (e*pi)^3 ...
    10 true sequences for (e*pi)^(really big number)
    10 true sequences for (2*pi)
    10 true sequences for (2*pi)^2
    10 true sequences for (2*pi)^3 ...
    10 true sequences for (2*pi)^(really big number)
    10 true sequences for (3*pi)
    10 true sequences for (3*pi)^2
    10 true sequences for (3*pi)^3 ...
    10 true sequences for (3*pi)^(really big number) ...other type of irrationals

    So you have *a lot* of possible sequences.

    If you're still paranoid, you could also use increments that are larger than one (e.g. use the nth+2 digit, the nth+4 digit, etc), use polynomial increments (e.g. use the nth+2^2 digit, the nth+3^2 digit, etc) or even exponential increments (e.g. use the nth+2^2 digit, the nth+2^3 digit, etc). Polynomial and exponential increments allow each irrational seed to generate an infinite number of true sequences.

    This approach is a hard to crack as you want to make it.

    1. Re:You forgot the second part of the algorithm.... by Anonymous Coward · · Score: 0

      Doesn't the periodicity of the sequences strike you as odd? Why do all sequences degenerate to 111111... after a while? (Coincidence, true, but it points at an algorithmic problem)

      The key is a good irrational number and big enough "digits", which means that, for useful random numbers, the generator is too computationally expensive, plus there is no guarantee that the sequences don't degenerate to relatively short periods. The randomness still only comes from the choice of step algorithm, irrational number and seed. That choice has to be random, so you need a good random number generator to build your random number generator...

  114. How about this.... by FrozenFrog · · Score: 1

    What if all Slashdot readers seeded a universally accessible random number generator with the number of times they've had sex (with another person).

    I'll start.

    0 (Zero)

    Frog

  115. just use the sound card by Uzik2 · · Score: 1

    Just read the noise generated by the sound card with no microphone plugged in. If there's not enough gain you could always hook a simple noise generator to the mic input jack.

    --
    -- Programming with boost is like building a house with lego. It's a cool but I wouldn't want to live in it
  116. Silly overkill by Phil+Karn · · Score: 3, Interesting
    Generating random bits with a lava lamp has always seemed like silly, impractical overkill to me. For years, the Linux kernel has had the /dev/random driver that distills entropy from external events, and now it can be seeded by the hardware random bit generators found in many modern CPUs.

    Nearly every PC also has a sound interface that could also be used as a rich source of random seed bits. You don't even need a microphone; just crank up the gain and digitize the analog noise in the microphone preamp.

    1. Re:Silly overkill by steveha · · Score: 1

      Maybe it's overkill for you, but there are a few organizations out there who would like to be able to crank out large volumes of safely random number streams. Verisign probably could use this, for example.

      But if you would actually read the article you would find that, despite the name, this project doesn't use a lava lamp. They use a CCD inside a light-proof can, so that all you can measure with the CCD is noise fluctuations. Then they hash the resulting data up big-time to remove any patterns.

      I don't know how effective your idea will be, but I'm pretty sure it will take more time to get a chunk of chaotic data from a preamp than from a CCD. The CCD has a few million pixel sensors that can fluctuate and you can read them all in parallel. With the audio preamp you will probably get 16 bits per sample, and how many of those will be chaotic? You can just take more samples but that will take more time.

      For true portability, just get a computer with a CPU that makes true random numbers by measuring heat. Again this will no doubt take more time than the CCD, but also no doubt less than the audio preamp. At least all the bits will be chaotic.

      steveha

      --
      lf(1): it's like ls(1) but sorts filenames by extension, tersely
    2. Re:Silly overkill by Phil+Karn · · Score: 1
      What kind of volume do you consider "large"? Just how many key bits do you need to generate per second? I just checked the speed of the hardware random bit generator in my Pentium 4 system, and it emits about 13.5 kilobits/sec. That's over a hundred fresh 128-bit symmetric cipher keys per second. I run a daemon (rngd) that continually feeds the output of this hardware generator into the Linux /dev/random kernel driver, where they are pooled with the entropy from other external random events like keystrokes, precise clock times of interrupts, etc.

      That driver will, via the alternate entry point /dev/urandom, generate "practically" random bits at even higher speeds. In practice, these bits are just as good as the "truly random" hardware bits unless you can manage to invert the MD5 or SHA-1 one-way hash functions. The other threats to my system, such as software bugs or lack of perfect physical access controls, seem far more significant than this one.

      The reason for my original comment is that this project, while cute, helps perpetuate the common misconception that elaborate, nonstandard hardware is needed to do strong encryption on a PC. That's just not the case. I'd hate for someone to say "I can't get that hardware, so I might as well not bother encrypting".

      My point is simple: many modern commodity PCs already contain hardware that is specifically designed to produce a fast, high-quality stream of random bits for cryptographic purposes. Even if the Intel 810 random number generator is not available on your system, you still probably have a sound interface that you can use that will produce, through the /dev/[u]random driver, a stream of enough high quality random bits for all but perhaps a very high end secure server.

  117. and it generated this sequence... by Anonymous Coward · · Score: 0

    42
    1337
    69
    0
    0
    7
    666

  118. SCO Joke by Jugalator · · Score: 1

    I'm using SCO's attempts at getting Linux to kneel as a random seed. Their claims seem to be truly random, and completely isolated from external interference.

    --
    Beware: In C++, your friends can see your privates!
  119. Blame Microsoft by Detritus · · Score: 1

    Microsoft supplied the AppleSoft BASIC interpreter to Apple.

    --
    Mea navis aericumbens anguillis abundat
  120. Repeat or somethin'? by WeblionX · · Score: 1

    Am I the only one who remembers this being posted before? Or was that another project that went from lava lamps to cameras... Well, either it's a repeat, or my brain must have subscribed to Slashdot...

    --
    (\(\
    (=_=) Bani!
    (")")
  121. This really isn't hard. OBG. by Jonsey · · Score: 2, Funny

    All you need a is good source of Brownian motion. Say a good hot cup of tea...

    --
    I assert that my comment is only my opinion, not that of any employer, past, present or future.
  122. "True" randomness is unattainable by Stuntmonkey · · Score: 2, Informative

    creating truly random numbers using inexpensive cameras

    Fussy nitpick:

    As a matter of principle we shouldn't talk about "true" random numbers. Even if you have a source of quantum randomness (the best you can do), in any practical scheme there will always be differences in how 0's and 1's are detected. The impact of these differences can be minimized through careful design, but they will always be there and will cause a departure from an exact 50/50 split of 0's and 1's.

    For example, an attenuated laser passing through a simple 50/50 beamsplitter and into 2 single-photon detectors is far better than a lava lamp. But no beamsplitter is exactly 50/50, and this will cause an excess of 0's or 1's. (You could adjust the detection efficiency or optical alignment of the detectors to compensate, but the point is that this is a manual adjustment that will never result in exactly zero bias.) And no amount of algorithmic hashing or obfuscation can eliminate this bias (although it may reduce it significantly).

    It will always be the case that any practical system for generating bit sequences of length N will never generate them with a frequency of exactly 2^(-N) each (in the limit of an infinite number of trials), and with zero correlation between successive bit sequences. "Truly" random numbers are an unattainable goal.

  123. Keypress timing seeds password generator by Phantasmo · · Score: 1

    PassGen is a Java applet that uses keypress timing as a number seed for generating passwords.

    --

    The US Army: promoting democracy through unquestioned obedience
  124. Truely paranoid indeed by t_allardyce · · Score: 2, Insightful

    "Its even portable, so the truly paranoid can take it with them when they travel."

    Which one of this is the most likely: - someone manages to get your low-class 'pseudo' random number by extrapolating the exact time of the system clock and the contents of your memory etc. and running it through the algorithem. Someone manages to predict or find your mouse movements by the indents on your mouse mat and the use this to get the same random number you created by moving the mouse in the box. Someone looks over your shoulder and reads the information/password you were trying to hide?

    All this assuming you arnt in star trek

    --
    This comment does not represent the views or opinions of the user.
  125. Why not just get random numbers from random.org? by Colonel+Panic · · Score: 1

    All this dealing with cameras and lavalamps seems like a lot of extra work.

    Why not just get random numbers from random.org?

    I believe they get them by monitoring certain radio frequencies which are predominantly white noise.

  126. Hotbits by Remlik · · Score: 1

    I kinda liked this approach.

    HotBits

    Basically use random radioactive decay to get your numbers. Can't beat mother nature.

    --
    Apple free since 1990!
  127. It's not really random... by TaraByte · · Score: 1

    According to this the lottery is rigged anyway.

    --
    Security is inversely proportional to the commitment of one desiring to circumvent it.
  128. Besides, it's years old by devphil · · Score: 1


    SGI was doing the lava-lamp-interpret-image random-number thing several years ago. I first saw the project website when I was an undergrad, when it was hosted at
    some-odd-name.sgi.com/~some-employee/spare-time-pr ojects/freaky-weird/lava.html.

    I think they've changed the arrangements/colors of the lamps since then, but it's not new.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  129. Seems we have many "better" solutions here... by Capt_Troy · · Score: 1

    So let me submit one of my own. To generate a truly random number (in only 7 simple steps)...

    1) Reach your finger (pick which finger at random) all up in your nose and pull out a booger.

    2) Document the degree of slimyness on a scale of 1 to 10.

    3) Measure the depth and circumferance.

    4) Document the color of the booger.

    5) Plug that into an equation that I will be providing via an application I have written in Powerbuilder (so nobody but you will be likely to be using it)

    6) Use your truly random number.

    7) Remember to wipe booger on your pants so no one else will steal your key!

    T.

  130. Infinite improbability drive by Anonymous Coward · · Score: 0

    Isn't anyone a little suspicious of the similarities?

    Check out http://www.sadgeezer.com/hhg/i-drive.htm if you are unfamiliar with the idea.

  131. Truly random numbers? by Anonymous Coward · · Score: 1, Funny

    You can just use my algorithm:

    int getNextRandom()
    {
    return 1;
    }

    If an alogorithm is truly random, it's just as possible by definition that all the numbers produced are the same.

  132. My Way by Mignon · · Score: 2, Funny
    The system uses a saturated CCD in a light-tight can as a chaotic source to produce the seed.

    I use porn in a dimly-lit room to produce the seed. To each his own.

    1. Re:My Way by jea6 · · Score: 1

      And you could count the seed to produce a PRNG algorithm. This is what we call cross-discipline.

      --

      sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.
  133. complex solution to a simple problem by orb_fan · · Score: 2, Interesting

    High geek-factor aside, this seems way to complex for the simple task of generating random numbers.

    Why not have a simple electronic circuit (it's been years since I've done any circuit design) that's balanced so that thermal noise produce ticks. Stick a USB interface on it and there you have it. A device you could carry in your pocket.

    1. Re:complex solution to a simple problem by MxTxL · · Score: 1

      Because such a device would be no better than the electronic ones that are already in your computer. The point of the lava lamp is to make random numbers that are more random than conventional computer-generated random numbers(which, scientifically speaking aren't very random).

      And yes, it is possible to measure how random a set of numbres is and it's possible to call one set of numbers 'more random' than another set.

    2. Re:complex solution to a simple problem by orb_fan · · Score: 1

      Actually, thermal noise is random - as random as rayleigh instability in a lava lamp, or noise in a saturated CCD. In fact, in the case of the CCD, you are basically seeing thermal noise.

      And such a circuit is truely random - it's not algorithmic. You would generate a random number by counting the ms between pulses generated in the circuit (or something along those lines).

      The only thing you would have to be careful about is ambient temperature - unless you took that into consideration, the higher the temp, the more noise generated which would skew the numbers generated.

      To paraphase Hitchhicker Guide to the Galaxy, "all we need is a nice hot cup of tea."

  134. There's a statistician in the house! by siskbc · · Score: 1
    If the same source outputs [1, 2, 3, 4, 5, 6] people all of a sudden get interested and say "I wonder what's going on." There's nothing going on. The random source doesn't care whether your brain wants to ascribe some special meaning to the sequence [1, 2, 3, 4, 5, 6]; it generated it mindlessly, and your human tendency to pick out patterns has kicked in. You are imposing your own order on it, when no real order exists.

    So you're saying if you set up a rand-generator and it spits out {1,2,3,4,5,6...} the first time you use it you won't check it? ;)

    I understand what you mean though. I love how people try to stay away from runs of numbers when filling out their lottery tickets.

    --

    -Looking for a job as a materials chemist or multivariat

    1. Re:There's a statistician in the house! by jovlinger · · Score: 3, Funny

      As far as I know, a run of numbers has never won the lottery, so this is your chance. The run is more likely to come up, since one hasn't already, in all this time.

      oh, wait...

    2. Re:There's a statistician in the house! by Anonymous Coward · · Score: 0

      The real risk of picking a run of numbers is that others will too and you'll have to split your winnings. Any number is equally likely to win, but many numbers are more likely to be selected by multiple lottery-playing dolts.

    3. Re:There's a statistician in the house! by Performer+Guy · · Score: 1

      What idiot marked this as insightful, it's trying to be funny because utterly wrong w.r.t. statistics.

    4. Re:There's a statistician in the house! by trg83 · · Score: 1

      Exactly. I was going to say the same thing until I read your post.

    5. Re:There's a statistician in the house! by Dirtside · · Score: 1

      jovlinger makes a joke, although for those who don't know, he's referring to the Gambler's Fallacy. At least, I think he is. :)

      --
      "Destroy science and religion. Science would re-emerge exactly the same; but not religion." - Penn Jillette, paraphrased
    6. Re:There's a statistician in the house! by RockBob · · Score: 1

      I seem to remember reading somewhere that, despite the common misconception that 1,2,3,4,5,6 is somehow more random than any other set of numbers, it remains the most common set of numbers to be picked by the punters. So much so that if those numbers ever did come up on a standard 1.5M Jackpot, each winner would recieve (as I recall) around 700 Sterling.
      Bummer...

      --
      I know, I know... I need to learn a little English.
    7. Re:There's a statistician in the house! by Anonymous Coward · · Score: 0

      Actually, an almost-perfect run of numbers *did* make the lottery here in Germany once, about a year or two ago IIRC. It was 1, 2, 3, 4, 5, 25 or something like that, in a "6 out of 49" lottery. And guess what? The winnings for 5 numbers right were the lowest ever in the history of German lotto. As the lotto administration points out, 1,2,3,4,5,6 is high up among the most frequently chosen bets in their books. This is a typical case of common sense being strictly at odds with statistics. Lots of people obviously think that "nobody in their right mind would ever choose this combination, so I'll be the only winner with 6 numbers right if this ever happens to get drawn". The number of people thinking that way is so large that the plan effectively contradicts itself. The root of this effect is that the majority of lotto players simply don't realize that it's not the machine they're playing against, in the end --- it's the other players. Thus, applied psychology and sociology is a lot more important than the maths of probability to make the best possible bet.

    8. Re:There's a statistician in the house! by jovlinger · · Score: 1

      Fantastic.

      I'd heard similar things, where the expected payout is larger if you let the machine randomly pick, as you'll not cluster with others who pick meaningful numbers.

      But on the otherhand, there ought to be really "meaninless" sequences, with no numerological value. So anything representing a date is out, for example. Picking from this pool would be even better than a truly random pick, because it would avoid all those clusters (which could be randomly picked by the machine).

      Or, you could not play at all, whish has by far the highest expected payout.

  135. Re:Bizarre sequences of random numbers (x1488) by Anonymous Coward · · Score: 0

    Lame. For all practical purposes, the numbers are random. If you want to get philosophical, that's fine, but stick to your armchair, because philosophy is incompatible with the real world.

  136. New! Improved! by SEWilco · · Score: 1

    Mine is geometrically random.
    Inside my box I have two cameras and they are aimed at each other.

  137. it was in wired by Codger · · Score: 1

    Geez... all I need to do to read Slashdot is pick up the latest Wired. I had a profound sense of deja vu: and I just figured out why. It's an interesting story nonetheless... and not everybody reads Wired.

    Here's the story, for those interested: 11.08

  138. The SDG&E Randomizer... by drew_92123 · · Score: 1

    The power sucks so bad in my neighborhood I could get truly random numbers just by sampling the live voltage! ;-)

  139. why is this interesting? by njdj · · Score: 1

    There are a lot of ways to generate sequences of numbers which have a truly random element. For example, a warm resistor generates a small amount of random electrical noise which can be amplified and digitized. Maybe the method in the article is better in some way, but the article sure doesn't explain why.

  140. how quickly we forget by Blitzshlag · · Score: 1

    What ever happened to 2d6?

  141. 27 by aardwolf204 · · Score: 1

    27

    --
    Im dreaming ofa big bndwdth, That can resist the /.crowd.May ur days b merry & bright & may al
  142. it's all about parallelism by green+pizza · · Score: 2, Funny

    You need an SGI with at least two CPUs to take advantage of the superior LavaRnd abilities! Also, dump Netscape for Mozilla!

    Your home PC LavaRnd setup may be able to generate a large random number faster than the SGI-based one... but the SGI LavaRnd has the architecture to generate many concurrent random numbers. It also has the ability to easily handle high definition random numbers without chugging!

    =)

  143. Talk about geeky by wumpus188 · · Score: 2, Informative

    Lava lamp? Nah.. Real geeks use this

  144. randomness=?creation of the universe=?God by Carbon+Unit+549 · · Score: 1

    "God does not place dice with the universe." I don't feel too bad siding with Einstein on this one.

    If you accept true randomness then you accept effect without a cause. In otherwords, if some effect is random than nothing causes it. One nice thing about accepting randomness is that it removes the "first mover" paradox of the creation of the universe. So God can be thought of as a random event.

    --

    nohup rm -rf ~/. >& zen &

  145. random by Anonymous Coward · · Score: 0

    Why not use the noise inside your chassis as a seed for random number generation?

  146. No matter how good they make it... by vgaphil · · Score: 1

    Random is relative. What may seem to be a bunch of random numbers to you might make perfect sense to someone else. Why do you think it is so easy for people in movies to break into systems?

    Oh wait, nevermind.

    "The Internet is a fad." -WB

    --
    A clever person solves a problem. A wise person avoids it. -- Einstein
  147. Random Numbers using radio white noise by stephandahl · · Score: 1
    Check out Random.org,
    a project created by a friend of mine.


    He's been running for a while now - as his site claims, " 49816 million random bits served since October 1998".


    He's got good links to the theory as well as some fairly through test of the randomness of number sources.

    --
    What is the difference between a real song and a simulated song?
  148. Quantum theory by xiox · · Score: 1

    I shoot a photon through a double-slit. Where does it land? You can't tell. Do you really believe that that's chaos?

    If you have a wavefunction describing your system, and you observe it, the state of your system will be random, as allowed by the probability distribution of your wavefunction.

    The uncertainty principle. Is that chaos? Wrong.

  149. that's strange, by Anonymous Coward · · Score: 0

    because I have just that num... ok, never mind ;-)

  150. Are you kidding!? by Ignominious+Cow+Herd · · Score: 1

    You'd get ONE number followed by endless arguments about it, including offtopic posts and all the other crap.

    A better way would be to sample the actual post number of all the attempted First Posts. At least it'd almost never be 1.

    --
    Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
  151. patents by Bas_Wijnen · · Score: 1

    But the biggest drawback was that SGI patented the idea so it wasn't freely available. Now, some of the scientists behind the SGI random number system have create LavaRnd, an open source project for creating truly random numbers

    So now there is an open source project of a patented technology. Why couldn't SGI ask royalties for its use? It doesn't sound like a free project to me. While the SGI people making it probably want it to be, some other people at SGI may decide otherwise later on.

  152. What's the geek factor? by AnotherBlackHat · · Score: 1

    All of you saying there are easier ways to generate random numbers are missing the point.
    I'm sure if you ask on sci.crypt.random-numbers you'd get a lot of faster, and cheaper answers,
    or check out this page but how many of them would be cool?

    Lavarnd wins hands down in the "Oh my god, why?" department,
    although the smoke-alarm HRNG is pretty cool too.

    -- this is not a .sig

  153. This is too cushy. by finallyHasANickname · · Score: 2, Interesting
    1. Put flock on a transducer (microphone).
    2. Play with it to discover what will turn out to be a normal distribution curve of frequency response.
    3. Connect an A/D/RS-232 converter to it.
    4. Blow at it, recording the white noise.
    5. Employ compensation for the resonance, shuffling and compression at will--all in software.
    6. Call it good.

    The hedonic value should be high enough to leverage OSS on sourceforge more quickly than pr0n (even). Neglecting software development costs and software "mass production costs" (smirk), the project should cost $30 in quantities of one.

    Hey, should we skip step one? (shrug) If we do, then I'm sorry I said this was too cushy. I lied. ;-)

  154. My turn at karma-whoring... by twifkak · · Score: 1

    That algorithm is property of SCO. Expect a call from our lawyers.

    --
    I know you were joking, but I want my Karma, so I'm going to reiterate your post in a serious tone.
  155. LavaRnd Source Availability by chongo · · Score: 1

    The LavaRnd source is about to be released. If you want to be notified about the release, join the LavaRnd-release mailing list.

    --
    chongo (was here) /\oo/\
  156. Isn't pie random ... by Anonymous Coward · · Score: 0

    It must be, mustn't it, or what about irrational number series?? ... anyways, IANAM

  157. BINGO by smatt-man · · Score: 2, Funny

    Why not use the bingo number tumbler for the seed?

    --

    ---
    Lousy rotten karmic retribution.
  158. And the red swingline stapler... by Anonymous Coward · · Score: 0

    is for when i:

    man * > lpt1

  159. Travel by Anonymous Coward · · Score: 0

    >so the truly paranoid can take it with them when they travel."

    pfftt, like there is anyone on Slashdot that is paranoid

    pfftt, like there is anyone on Slashdot that travels

  160. How good is it? by Anonymous Coward · · Score: 0

    How much "better" is this one compared to the one in the linux kernel?

  161. why the big can? by Anonymous Coward · · Score: 1, Interesting

    Why not spray paint or electrical tape?

  162. Can be done, just not this way... by DaCypher · · Score: 1

    Please pardon my lack of knowledge on this subject, but as far as I know and from I get from the uncertainty principle and quantum mechanics, the only truely pure random thing in our universe is nuclear decay. Supposedly there is absolutely no way to predict when the next particle will decay from the nucleus of a radioactive atom. These ideas are used for this random number generator. Essentially, you can download a set of numbers generated by their radioactive element. This seems much more truely random and a bit more portable than lugging around camera equipment (although internet connectivity may be an issue, and you may not be able to generate as many random bits as frequently).

  163. LavaRnd != SGI classic lavarand by chongo · · Score: 1
    LavaRnd is not the same as SGI's classic lavarand. See the differences page for details.

    Our LavaRnd project does not use Lava Lite(R) lamps.

    Well, OK, we do have a Live LavaCan image that is sitting between two (but unrelated to the project) Lava Lite lamps. :-)

    A little known fact: the lamp on the left is the lamp that was used in the South Park: Bigger, Longer & Uncut movie trailer.

    One of the SGI classic lavarand inventors (Bob Mende) is rebuilding the original classic site. Watch the LavaRnd news page for details.

    So why do we call it LavaRnd? Well, one of the LavaRnd co-inventors likes to visit volcanoes, so we worked Lava into the name and site theme.

    --
    chongo (was here) /\oo/\
  164. Ridiculous! by dannycim · · Score: 1


    I can make an electronic noise circuit using two or three zener diodes, a few gates (flip-flops, XORs, shift registers), an R-C clock, hook it up to a serial or paralell port and feed the bits to /dev/random for enthropy. And all that for about $20.

    Bonus: Feed cheap radio to soundcard, use those bits as well.

    Besides, lava lamps have a pretty short operating life; after a while, the wax and water mix up and it stops bubbling.

  165. Now *this* really actually is Pi, really by Mr+Smidge · · Score: 1

    You have too much time to format text. Watch how I express Pi much more accurately than you in a fraction of the space:

    Pi = sqrt(6 * (1 + 1/4 + 1/9 + 1/16 + ..))

    Tada!

  166. Can someone please define a random number? by einhverfr · · Score: 2, Informative

    It seems to be that by our common definition of random, random numbers are in fact impossible. So I am wondering what the definition we are working with regarding random number is?

    IMO, I think one stipulation of a true "random number" is that part of the seed has to be externally derived. I.e. in any closed system numbers cannot be truly random. This means doing things using as a seed, the previous random number hashed with the MD5SUM of the system time along with some external information which is unknowable by an attacker or other program. Mouse or keyboard activity, network traffic in some cases, maybe even an MD5SUM of the total range of I/O address ports...... Of course, that would have to be kernel level.

    --

    LedgerSMB: Open source Accounting/ERP
  167. Johnny Neumonic by Protocron · · Score: 1

    I was thinking that this sounded almost like William Gibson's Book/Movie (yes I know it wasn't the book). Take a photo of some random event at my pc. Or maybe a screenshot from a channel. Just grab a few pixels from the screenshot at a variety of locations and base a random number on the color of the pixel and Bob's your uncle. You have random numbers based on a random event. I think it would work. Go Gibson.

    --
    CAPS LOCK: ITS LIKE THE CRUISE CONTROL FOR AWESOME
  168. old story by glitch23 · · Score: 1

    This was in Wired 1 issue ago. Not exactly news.

    --
    this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
  169. For random numbers.. by anethema · · Score: 1

    Why do they just detect radiation coming off of a tiny radioactive source in a tiny can..mounted on a pci card. Seems like this wouldnt even be hard to do.

    I should do an ISA one from the chip of radioactive stuff in a smoke detector. (pci is expensive for a license :( )

    This is of course based on what i read about a radioactive source beeing truly random. If im wrong about that someone can correct me :)

    --


    It's easier to fight for one's principles than to live up to them.
  170. Re: Humans have trouble creating random numbers by big-magic · · Score: 3, Interesting

    When I was in grad school (for mathematics), I took a course on probability. On the first day, the Prof gave an assigment for half the class to create a list of 100 random numbers using dice (actually one die). The other half of the class was to create the same list (numbers between 1 and 6), but without using any dice. The Prof then put all the pages in a pile, and was able to perfectly separate the pile based on which method was used to create the page with only a quick glance at each page.

    We later learned that he was able to separate them by looking at runs of numbers. For a list of 100 uniformly distributed numbers (between 1 and 6), there is a very high probability (90% or greater) that there will be a consecutive run where the same number occurs 5 or 6 times in a row. But the people that manually created their list will almost never add such a run, because it doesn't seem "random" enough.

    What is really "random" is a very hard question that has occupied many brilliant people over the last century.

  171. what's its performance? by khallow · · Score: 1
    When we talk about a source of randomness, we can measure its output in bytes of random data generated per second. That's because bits and bytes not only measure information, but also are natural units of entropy. Anyway, I last looked for a true random number generator in 2000. At that time, there was some open source IC chip that had a fair random generator (it was measuring the thermal fluctuations across a resistor). That chip could output 1Kbyte per second of random data, I believe.

    Looking through the Lava site, I get no impression of how much random bytes it can produce over time. That's a key factor IMHO.

    Finally, I wonder how many bytes of randomness the NSA puts out per year?

  172. How about this as a random number generator by The+Famous+Druid · · Score: 1

    It's called WMDRND()

    Simply get a feed from Washington with the latest excuse for still not finding any of the thousands and thousands of
    Weapons of Mass Destruction we know Saddam had.

    --
    Quidquid Latine dictum sit, altum videtur (anything said in Latin sounds important)
  173. Definition? by Anonymous Coward · · Score: 0
  174. Re:...isn't succesful. by slaida1 · · Score: 1

    I have two coins, that's twice as fast as SCO's algorithm! nyaa..

    --
    Preserve old classics: copy your collection onto all hard drives.
  175. ERNIE anyone? by DoctorRad · · Score: 1
    Why is this such a big deal? We Brits have been using chaotic physical systems to generate random numbers for at least 45 years. Might not be cryptographically sound, mind you...

    Dr. Matt.

    1. Re:ERNIE anyone? by Anonymous Coward · · Score: 0

      Sounds like an errno value:
      E Random Number Initialization Error

  176. Wired... by physman · · Score: 0

    Strange, but I'm sure this was on last months wired!? Is everbody impervious to this fact???

    --
    Murphy's Law of Research: Enough research will tend to support your theory.
  177. Re:Why not just get random numbers from random.org by Anonymous Coward · · Score: 0
    Why not just get random numbers from random.org?

    I tried, but the site was down. I checked the Google cache and it didn't seem very random to me.

  178. It's not random, by AchmedHabib · · Score: 1

    It's not random, just because you can't figure out all the variables. I'd say it is entirely predictable. You just need the power to figure it out.

  179. video_entropyd by flok · · Score: 1

    This lavarnd looks a bit as (as we say in Dutch:) 'old wine in new bottles': video_entropyd is quiet a while available for download.

    While you're at it, take a look at audio_entropyd as well: it generates random-values from unconnected inputs of your soundcard.

    --

    www.vanheusden.com - home of Multitail, HTTPing, CoffeeSaint, EntropyBroker, rsstail, bsod, listener, nagcon, nagi