Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

True Random Number Generator Goes Online

Posted by ScuttleMonkey on Wed Jul 18, 2007 05:33 PM
amigoro writes "A 'true' random number generator that relies on the unpredictable quantum process of photon emission has gone online providing academic and scientific community access to true random numbers free of charge."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Wow! (Score:5, Funny)

    by Anonymous Coward on Wednesday July 18 2007, @05:34PM (#19907747)
    ..BZT, qvq nalbar frr gung gb ertvfgre lbh unir
    gb fbyir n zngu ceboyrz yvxr:

        qrevingvir bs (5*fva 3k +6pbf(-cv/2))

    Avpr!

    Urer vf n qverpg yvax gb gur trarengbe, lbh pna
    qbjaybnq gur pyvrag sebz urer nf jryy:

    uggc://enaqbz.veo.ue/

    DEnaq Pbzznaq-yvar Hgvyvgl [i0.2, 2007-07-17]
    Abgr 1: Pbzcvyrf haqre Ivfhny Fghqvb naq t++.
    Abgr 2: Jvaqbjf rkrphgnoyr vapyhqrq.
    Abgr 3: TAH Yvahk rkrphgnoyr vapyhqrq.
    • Re:Wow! (Score:5, Informative)

      by Xiph1980 (944189) on Wednesday July 18 2007, @05:47PM (#19907941)
      Too bad that's only ROT13:
      Not really the hardest of encryptions to crack.

      ..OMG, did anyone see that to register you have
      to solve a math problem like:

      derivative of (5*sin 3x +6cos(-pi/2))

      Nice!

      Here is a direct link to the generator, you can
      download the client from here as well:

      http://random.irb.hr/ [random.irb.hr]

      QRand Command-line Utility [v0.2, 2007-07-17]
      Note 1: Compiles under Visual Studio and g++.
      Note 2: Windows executable included.
      Note 3: GNU Linux executable included.

      • Re:Wow! (Score:4, Funny)

        by Anonymous Coward on Thursday July 19 2007, @05:05AM (#19912099)

        Too bad that's only ROT13: Not really the hardest of encryptions to crack.

        Yeah, that's why I always apply it twice for extra security.

    • Re:Wow! (Score:5, Funny)

      by MillionthMonkey (240664) on Wednesday July 18 2007, @06:12PM (#19908181)
      ..OMG, did anyone see that to register you have to solve a math problem like:

      derivative of (5*sin 3x +6cos(-pi/2))


      7h15 15 345y. 6 * (05(-p1/2) = z3r0), 50 7h3 4n5w3r 15 ju57 15 * (05(3x).

      |\/|y m07h3r (0u|d h4v3 d1ff3r3n71473d 7h47.
        • by Baron von Leezard (675918) on Thursday July 19 2007, @02:34AM (#19911447)
          I'm not concerned that it's not pseudo-random. My point is that's not how any modern pseudo-random number generators actually work. Maybe during WWII, but not today. The common PRNG techniques are:
          1. linear congruential generators
          2. lagged Fibonacci generators
          3. linear feedback shift registers
          4. generalised feedback shift registers
          5. Mersenne twister
          6. Fortuna (if you need one that's cryptographically secure)
          7. Blum Blum Shub (likewise)

          These are all pure mathematical algorithms. Nowhere in any of these is there any sort of pre-generated random lookup tables. (Unless you count the S-boxes used in some block ciphers with Fortuna.) Pre-generated "random" lookup tables only hide poor randomness in the generation process and don't actually improve the situation cryptographically at all; I suspect that for most other applications there would be problems as well. If your generated numbers don't cover the entire domain space uniformly, then they still won't no matter how many lookup tables you use to transform them.

          According to the article, people are sitting around rolling dice to generate random number sequences. Really? REALLY?!? Who wrote this article?

          [BvL]
  • by ferrellcat (691126) on Wednesday July 18 2007, @05:35PM (#19907763)
    Hey! It works!
  • Wait... (Score:5, Funny)

    by Icarus1919 (802533) on Wednesday July 18 2007, @05:35PM (#19907769)
    Why do I keep getting 42?
    • Re:Wait... (Score:5, Funny)

      by theantipop (803016) on Wednesday July 18 2007, @06:01PM (#19908083)
      I don't know, but that's pretty improbable.
    • Re:Wait... (Score:5, Insightful)

      by Lord Ender (156273) on Wednesday July 18 2007, @06:41PM (#19908463) Homepage
      Actually, a random number generator isn't really random unless it is possible for it to generate the number 42 a thousand times in a row...
      • Re:Wait... (Score:5, Interesting)

        by AchiIIe (974900) on Wednesday July 18 2007, @09:15PM (#19909645)
        Bah, you must be a mathematician.
        If you put a monkey in front of a typewriter and he types on it for an infinite amount of time, he'll eventually type all of Shakespeare's work.

        It's called the Infinite monkey theorem [wikipedia.org]

        Ignoring punctuation, spacing, and capitalization, a monkey typing letters uniformly at random has one chance in 26 of correctly typing the first letter of Hamlet. It has one chance in 676 (26 times 26) of typing the first two letters. Because the probability shrinks exponentially, at 20 letters it already has only one chance in 26^20 = 19,928,148,895,209,409,152,340,197,376, roughly equivalent to the probability of buying 4 lottery tickets consecutively and winning the jackpot each time. In the case of the entire text of Hamlet, the probabilities are so vanishingly small they can barely be conceived in human terms. The text of Hamlet, even stripped of punctuation, contains well over 130,000 letters which would lead to a probability of one in 3.4×10^183946.

        For comparison purposes, there are only about 10^79 atoms in the observable universe and only 4.3 x 10^17 seconds have elapsed since the Big Bang. Even if the universe were filled with monkeys typing for all time, their total probability to produce a single instance of Hamlet would still be less than one chance in 10183800. As Kittel and Kroemer put it, "The probability of Hamlet is therefore zero in any operational sense of an event...", and the statement that the monkeys must eventually succeed "gives a misleading conclusion about very, very large numbers." This is from their textbook on thermodynamics, the field whose statistical foundations motivated the first known expositions of typing monkeys
        • Re:Wait... (Score:5, Funny)

          by snickkers (1023847) on Wednesday July 18 2007, @09:37PM (#19909799)
          The closest we'll get to proof that Shakespeare wasn't a monkey.
          • Re:Wait... (Score:4, Funny)

            by Nazlfrag (1035012) on Wednesday July 18 2007, @11:47PM (#19910677) Journal
            Silly statisticians miss the point. Why do all portrayals of the great bard have him bearded? Monkeys were often used as assistants and servants hundreds of years ago, why not use one as a scriptwriter? How else do you explain all the strange spelling and random line breaks? History proves Shakespeare was a monkey without a shadow of a doubt, regardless of silly mathematicians trying to compare the immortal poet, or any other monkey at a typewriter with random numbers. A chimpanzee shares 99.7% of our DNA, yet we call them random number generators? Pseudoscientific quackery at its worst.
        • by myowntrueself (607117) on Wednesday July 18 2007, @09:58PM (#19909943)
          As Kittel and Kroemer put it, "The probability of Hamlet is therefore zero in any operational sense of an event...", and the statement that the monkeys must eventually succeed "gives a misleading conclusion about very, very large numbers."

          So in other words there really is *no* hope that web 2.0 will actually produce anything truly outstanding?
        • Re:Wait... (Score:4, Interesting)

          by Trogre (513942) on Wednesday July 18 2007, @10:17PM (#19910101) Homepage
          And yet, if those monkeys are truly typing randomly, any set of 130,000 characters they type has exactly the same chance of being Hamlet as it does anything else.

          Let's say my cat just traipsed on my keyboard and typed "dsafhhrnvcdbqwtrwqerwe897509k;ln b,.cnjhcvdsytwejbhd". Yesterday I might have asked you what were the chances of a cat randomly typing "dsafhhrnvcdbqwtrwqerwe897509k;ln b,.cnjhcvdsytwejbhd", and you might have replied "vanishingly small, so much so that it just isn't going to happen in your lifetime". And you'd be right from a statistical point of view. Yet it happened.

          • Re:Wait... (Score:5, Funny)

            by Bluesman (104513) on Wednesday July 18 2007, @10:32PM (#19910213) Homepage
            >my cat just traipsed on my keyboard and typed "dsafhhrnvcdbqwtrwqerwe897509k;ln b,.cnjhcvdsytwejbhd"

            I've read that one, it sucked. The butler did it and they catch him in the end.

            Your cat should have typed Hamlet.
      • Re:Wait... (Score:4, Insightful)

        by ajs (35943) <ajsNO@SPAMajs.com> on Wednesday July 18 2007, @10:49PM (#19910339) Homepage Journal

        Actually, a random number generator isn't really random unless it is possible for it to generate the number 42 a thousand times in a row...
        Not so.

        A random number generator might generate numbers in the range 0x10000000 to 0xfffffff0 (and thus never generate 42 (0x0000002a) as a result). As long as the distribution within that range is uniform, non-periodic, and lacking in underlying structure, it's random. If it meets the first and last requirement, but is periodic, then it's pseudo-random.
  • lava lamps at SGI (Score:5, Interesting)

    by TheGratefulNet (143330) on Wednesday July 18 2007, @05:35PM (#19907777)
    when I think of random numbers, I can't help but remember the 'fishbowl' that had at SGI (mtn view) where an indycam was photo'ing some lavalamps and creating random seeds based on those images.

    ah, SGI....
  • random.org ? (Score:5, Informative)

    by Anonymous Coward on Wednesday July 18 2007, @05:36PM (#19907785)
    Hasn't random.org [random.org] done this for a while already? Perhaps they don't have academic backing, but I do believe they use numbers generated by atomic decay.
    • Re:random.org ? (Score:5, Informative)

      by stinerman (812158) <nathan.stineNO@SPAMgmail.com> on Wednesday July 18 2007, @05:46PM (#19907939) Homepage
      Indeed. First page:

      RANDOM.ORG offers true random numbers to anyone on the Internet. The randomness comes from atmospheric noise, which for many purposes is better than the pseudo-random number algorithms typically used in computer programs. ...

      The service has been operating since 1998 and was built and is being maintained by Mads Haahr who is a Lecturer in the School of Computer Science and Statistics at Trinity College, Dublin in Ireland.
    • Re:random.org ? (Score:5, Interesting)

      by lawpoop (604919) on Wednesday July 18 2007, @05:50PM (#19907981) Homepage Journal

      I do believe they use numbers generated by atomic decay.
      The site claims that

      The randomness comes from atmospheric noise...
      I wonder, how could you know that their numbers are truly random, as they claim?
      • Re:random.org ? (Score:5, Informative)

        by psu_whammy (940612) on Wednesday July 18 2007, @06:44PM (#19908495)
        You could, say, read up on the statistics [random.org] they give you. The site has all sorts of fun info on exactly how their RNG works, and daily stats on the randomness of the numbers presented.
      • Re:random.org ? (Score:5, Informative)

        by AutumnLeaf (50333) on Wednesday July 18 2007, @07:36PM (#19908945)
        I wonder, how could you know that their numbers are truly random, as they claim?

        You can never know that. You can test "properties of randomness" and conclude "it looks random." But you have no way of knowing if that hopefully random sequence cross-correlates to a non-random sequence you haven't found, but that passes all of the tests.

        On the other hand, there is no randomness like quantum randomness. So if you believe their bit-stream faithfully represents the source, then in this case you can feel pretty good about it.
    • by slickwillie (34689) on Wednesday July 18 2007, @08:32PM (#19909377)
      I just checksum my Windows registry.

      It's random enough for my purposes.
  • Don't misunderstand (Score:5, Informative)

    by Icarus1919 (802533) on Wednesday July 18 2007, @05:38PM (#19907813)
    True random number [wikipedia.org] generators have been around in hardware form for a while based on a number of different processes, not quantum only. But this is being offered to the community at large, who may not have the means to procure or pay for a hardware solution.
    • Finally, something to make the OLPC useful.
    • by TheRaven64 (641858) on Wednesday July 18 2007, @05:44PM (#19907911) Homepage Journal
      Don't Via C3 chips have a hardware random number generator, that uses quantum-level fluctuations in the chip (i.e. the kind of noise that most of the rest of the chip is specifically designed to try to avoid) to produce noise as output? Since these cost under $100, I can't see a researcher not being able to afford one. You obviously can't use this service for cryptography, since relying on someone else for your entropy is just asking for trouble.
  • by Wise Dragon (71071) on Wednesday July 18 2007, @05:40PM (#19907851) Homepage
    This is neat but there have been other quantum random number generators online for years. This one by id Quantique springs to mind... [randomnumbers.info] I'm not sure what this new service provides that others don't. If you REALLY want secure random numbers you should buy a QRNG PCI card and make them yourself so you're the only one with a copy.
  • Erm.. (Score:3, Funny)

    by Creepy Crawler (680178) on Wednesday July 18 2007, @05:42PM (#19907875)
    Does anybody have a mirror?

    It keeps changing on me!
  • by i_like_spam (874080) on Wednesday July 18 2007, @05:42PM (#19907879) Journal
    Atmospheric noise [random.org]
    Lava lamps [lavarnd.org]
    Radioactive decay [fourmilab.ch]
    Entropy [hd.org]
  • by solevita (967690) on Wednesday July 18 2007, @05:43PM (#19907895)
    Call me paranoid, but I think I'd rather use a local pseudo random number generator than an external true random generator. My security concerns associated with using a local pseudo random number generator are outweighed by my privacy concerns of contacting a third party every time I want to establish a SSH connection or use my credit card online.

    Great for research though, of course.
        • by AK Marc (707885) on Wednesday July 18 2007, @07:50PM (#19909055)
          If you need to repeat the random series, why don't you just store the numbers in a file?

          Because with pseudo-random seeds, I do. I store the 1000 seeds and run it 10,000 iterations on each run. If I were to store each random number, I'd have to store 10,000,000 numbers in my file rather than 1000. I'll always store them, but the question is whether it takes 1000 records or 10,000,000. For academic purposes, the results aren't statistically different, so why store more numbers?
  • I've been waiting on this for a long time.
  • by poszi (698272) on Wednesday July 18 2007, @05:51PM (#19907993)
    Look at the signup page [random.irb.hr]. You not only need to prove that you are a human but also that you have elementary knowledge of calculus.
  • Weird... (Score:3, Funny)

    by patternmatch (951637) on Wednesday July 18 2007, @05:57PM (#19908049)
    I keep getting 09f911029d74e35bd84156c5635688c0...
    • Re: (Score:3, Interesting)

      These things usually use a natural noise source as a random seed and then mathematically normalize them to produce random numbers that are useful. It's pretty standard stuff.
    • close (Score:5, Insightful)

      by geekoid (135745) <dadinportlandNO@SPAMyahoo.com> on Wednesday July 18 2007, @06:34PM (#19908405) Homepage Journal
      "Random" is a word used when an event has too many unknowns to reasonably no the outcome.

      To use a very simple random event: Flipping a coin.

      If you know all the variables, you will know what the outcome will be.
      How heavy is the coin? what side is up at the moment of the flip? whats the air density? how hard was it flipped? etc. . .