Slashdot Mirror


VIA C3 Random Number Generator Reviewed

An anonymous reader writes "VIA has added a hardware random number generator to its Nehemiah C3 CPU. I found a recent review of its security. Interesting how it's done at the instruction level as opposed to the chipset level used by the i810 RNG (also reviewed there)."

55 of 289 comments (clear)

  1. Finally by kaamos · · Score: 4, Funny
    I've been wanting to replace that Ti-80 that generated completely random 0-1 numbers.

    Hell, I couldn't even predict what would come next

    Oh wait...

    --
    In Canada, we don't fancy things like socks
  2. The Prototype: by ihatewinXP · · Score: 4, Funny

    Was just some guy they trained to sit there and yell numbers at them.

    Developer: Hey! Gimme a number!!!

    Idiot in corner: uh Seven boss!

    --
    ---- The real Slashdot is still here. You just have to browse at -1 to read the comments.
    1. Re:The Prototype: by Steven+Blanchley · · Score: 2, Interesting
      Interestingly enough, when asked to pick a number from 1 to 10, more people seem to pick 7 than anything else. My source is an unscientific poll, but I trust its general accuracy because I have noticed similar results myself. 7, 4, 5, 6, 3, 8, 2, 9, 10, 1. While the differences among 3, 4, 5, 6, and 8 could be off and the order of those probably cannot be trusted, 7 is definitely picked much more often than any of those five, which in turn are more likely picks than the four nearest either of the extremes.

      It isn't just one to ten either; I've noticed that when you ask people to pick a number from N to M, where N to M are relatively close together, a particular answer seems to come up more often than others; for example, 12 comes up often among numbers from 1 to 15. Can anyone suggest an explanation for this?

  3. News Release by Anonymous Coward · · Score: 5, Informative

    VIA Launches Seventh Generation 'Nehemiah' CPU Core, the First x86 Processor to Market with Embedded Security Features

    Combining an integrated PadLock(TM) Data Encryption Engine with a wealth of enhanced performance features, the new generation VIA C3(TM) provides the lowest power native x86 platform for the fast-growing market of connected PCs and home entertainment centers

    Taipei, Taiwan, 22 January 2003 - VIA Technologies, Inc., a leading innovator and developer of silicon chip technologies and PC platform solutions, today announced its new generation VIA C3(TM) processor integrating the 'Nehemiah' core. With its powerful PadLock(TM) Data Encryption Engine, this next generation VIA C3 is the first native x86 processor on the market with embedded security features that enhance the protection of sensitive corporate and personal data.

    Available now at a speed of 1GHz, the new processor core is based on an advanced new CoolStream(TM) processor architecture that delivers all the necessary performance for running even the most demanding digital media applications while maintaining ultra low levels of power consumption and heat dissipation.

    "The launch of the seventh generation VIA C3 processor extends our leadership in enabling the development of secure, quiet-running small form factor system designs for a rapidly growing number of exciting new lifestyle and productivity applications such as home digital media entertainment and connected computing," commented Paul Hsu, Executive Assistant to the President and Head of VIA's CPU Business Unit. "Integration of embedded security features in the processor provides the most robust and cost-effective solution for addressing the increased demands among individuals, businesses, and government organizations for enhanced authentication and protection of their data in today's connected world."

    PadLock(TM) Data Encryption Engine
    The PadLock Data Encryption Engine has been integrated into the new generation VIA C3 processor to ensure greater confidentiality, integrity, and authenticity of electronic data either stored in the computer or transmitted over a network or the Internet, and enables a host of powerful new security applications, including heavy-duty data encryption and safer online transactions.

    At its heart is an advanced Random Number Generator (RNG) that uses random electrical noise on the chip to securely produce random number values, and features a direct application level interface through a new x86 instruction. Developers can obtain random numbers directly from the hardware without having to use separate software drivers, thereby providing an inherently more secure and efficient solution than combined hardware/software RNG architectures. The RNG includes several operating modes, offering performance from 750K bits per second to as high as 6 million bits per second.

    "VIA's incorporation of a hardware random number source on the processor die is exciting for developers, since it provides a simple and effective way of obtaining high quality randomness. This is particularly important for security and cryptography applications, since it is notoriously difficult to generate random numbers of adequate quality without a hardware random number generator," said Paul Kocher, President of Cryptography Research, Inc. and co-inventor of SSL 3.0. "I am enthusiastic about the benefit to applications such as secure web browsing, cryptographic key generation, and protocols where randomness is required."

    CoolStream(TM) Architecture
    Based on the advanced CoolStream architecture, the new generation VIA C3 processor has a highly efficient design that, when coupled with the VIA Apollo CLE266 chipset, delivers performance increases of up to 20% over the current version of the VIA C3 processor in mainstream productivity applications and up to 73% for 3D graphics applications, while continuing to deliver the same benefits of low power and minimal heat dissipation.

    New performanc

  4. Testing bittorrent by Pathwalker · · Score: 2, Informative

    I'm playing around with bittorrent.

    As a test, I put the PDF file of the review of the hardware RNG up here (The summary is here).

    If you have bittorrent installed, feel free to try to download from me.

  5. Obligatory Dilbert Quote by snillfisk · · Score: 5, Funny

    ok, i couldnt find the original strip, but here goes from memory:

    accounting troll: this is our random number generator
    troll: 9
    troll: 9
    troll: 9
    dilbert: are you sure that's random?
    accounting troll: thats the problem with randomness, you really can't be sure.

    .. and maybe that holds for your calculator too :-)

    --
    mats
    One man's ceiling is another man's floor.
    1. Re:Obligatory Dilbert Quote by ottffssent · · Score: 2, Informative

      You *can* be sure whether it's random or not. "999" is not random. It may very well be randomly-generated, but that's not the same thing at all.

      Of course, it's not that simple either:

      If I have a RNG that spits a long string of the same number. Is the string random? Well, not really. So I take the string, and make sure it has the same number of each digit in it. But 1111222233334444 isn't random either, so now I make sure the same number of each pair occurs, so we've got as many 12s as we have 21s. 1234321234321234 still isn't random, so we check 3-digit sets. And at the end, I'm left with a string that is random, right? Well, it has known properties, namely that it has the same number of each digit (+-1), the same number of each pair, etc. So that's not random. But what about the original string of 8s? That's clearly not random. So what to do?

    2. Re:Obligatory Dilbert Quote by MisterFancypants · · Score: 2, Funny
      You *can* be sure whether it's random or not. "999" is not random. It may very well be randomly-generated, but that's not the same thing at all.

      I guess they don't have humor where you come from.

    3. Re:Obligatory Dilbert Quote by trezor · · Score: 3, Informative

      In norwegian the strip is located in my Dilbert-archive.

      Ofcourse I got an English archive as well, for you Dilbert fans out there!

      --
      Not Buzzword 2.0 compliant. Please speak english.
    4. Re:Obligatory Dilbert Quote by radish · · Score: 2, Insightful

      The order in which the balls come out of the lotto machine is (afaik) random. However, the sequence 1-2-3-4-5-6 is just as likely to come up as any other. Does that mean it's not random? No.

      One of the few accepted truly random physical processes is radioactive decay. It is however completely possible that 4 decay events occur, each exactly 2 seconds apart (for instance) - it doesn't mean our radioactive sample has suddenly broken the laws of physics.

      Your arguments are frankly bizarre, as determing randomness on such a small sample size is impossible. As your sample size increases you can examine the statistical distribution of values, and come to a (increasingly certain) conclusion on the probability that the thing generating those values is truly random, but (IMHO) you can never be sure.

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

  6. Re:Cant the randomness be predicted? by jmv · · Score: 5, Interesting

    No. Generally the idea of devices is just to amplify thermal noise. Thermal noise is produced at the microscopic level with atoms bouncing into each other. There's no way to predict that... unless you tap directly into the generator (in which case it's simpler to just get the data on the computer before it's encrypted).

  7. Re:Artificial Intelligence vs Artificial Stupidity by ddd2k · · Score: 2, Informative

    Aye, but nothing can be truly random
    Actually, if Heisenburg theory of uncertainty holds true, which is supported by the unexplainable phenomena of singluar photon diffraction, random numbers are totally possible at the sub-atomic level and are not difficult to manipulate. This article hardly touches on how the numbers are generated, which lends me to question how valid this technology actually is.

  8. Truly Random Numbers by polv0 · · Score: 5, Informative

    The ideal source for random numbers has always been physical sources, such as the white noise you see on your television screen when tuned to an unused channel. The noise is generated by remnants from the big bang, and is cryptographically unusable (since the numbers are recordable by anyone). But is a good test for statistical algorithms such as evolutionary computation (which depend on randomn initial states).

    The idea of using electrical currents secured on a chip is much sounder - since the noise is locally generated and very difficult to tap. I project that as quantum mechanics become more mainstream, the random quantum effects of electrons will be tapped to generate even sounder and accessible random signals.

    1. Re:Truly Random Numbers by John+Miles · · Score: 5, Informative

      The noise is generated by remnants from the big bang

      A myth, for the most part. It's generated primarily in the front-end amplifier of the TV tuner by virtue of the fact that its temperature is above absolute zero.

      All dissipative (resistive) elements, whether active or passive, generate thermal, or Johnson, noise. The noise power is expressed in watts as
      Pn=KTB, where K = the Boltzman constant, T is the temperature in degrees Kelvin, and B is the bandwidth you're looking at. TV signals occupy several megahertz' worth of bandwidth, so even the smallest amount of noise in the front end will dominate the noise from atmospheric and celestial sources.

      You can prove this by disconnecting the antenna. Even if you short the TV's antenna terminals with a paper clip, neither the audio nor the video noise will change much.

      --
      Dahlmann tightly grips the knife, which he may have no idea how to use, and steps out into the plain.
    2. Re:Truly Random Numbers by metalhed77 · · Score: 5, Funny

      yes, but isn't hte front end amp of the tv tuner just a remnant of the big bang?

      --
      Photos.
  9. Re:Artificial Intelligence vs Artificial Stupidity by jmv · · Score: 4, Interesting

    Actually, I've heard of some experiment where people were asked to fake a "coin tossing session" and write down the results. Generally, you could tell it's fake because when "generating random numbers" people tend not to repeat sequences.

  10. Randomness by Viral+Fly-by · · Score: 5, Insightful

    Isn't it interesting how much importance we place on quote unquote "true" randomness of numbers? We expect (or at least hope that) a computer can generate random numbers time and time again without fail...

    But any human being would prove horrible at such a task... In fact, if you ask a human being for 3 random numbers, odds are very good that they will give you at least two sequential ones...such as 7 6 2...or 5 9 8...

    I guess that's the point of computers though...if we could all calculate as fast as a computer, process data as fast as a computer, and perform other tasks as fast and as well as a computer, we wouldn't need computers, now would we?

    Random number generation is an interesting topic though because it is often seen as a fault of computers... People claim that computers are "incapable" of generating random numbers. So are human beings... I can understand a computer not being able to store a floating point number with a hundred digits after the decimal point being considered a fault, because FEASIBLY a human being COULD perform the operations and have the value exact out to a hundred decimal places. But with random numbers...a human couldn't do it even remotely as well a computer can, so why is it considered such a weakness of computers? Maybe the power of computers to break their own codes because numbers aren't truly random is the reason they are sought after in the first place.

    1. Re:Randomness by Anonymous Coward · · Score: 3, Funny

      Example - If I ask you to "Pick a number between One and Four" about 90% of people will pick Two or Three.

      What, are the other 10% not listening to the question?

    2. Re: Randomness by Omniscient+Ferret · · Score: 2, Funny

      In fact, if you ask a human being for 3 random numbers, odds are very good that they will give you at least two sequential ones...such as 7 6 2...or 5 9 8...

      I'd expect 1 in 3 odds of that happening anyway.

    3. Re:Randomness by Alpha_Nerd · · Score: 2, Funny

      I guess that's the point of computers though...if we could all calculate as fast as a computer, process data as fast as a computer, and perform other tasks as fast and as well as a computer, we wouldn't need computers, now would we?


      We need computers for porn. Nothing could ever possibly substitute computers in that regard.

  11. A Better System by lommer · · Score: 4, Interesting

    would be to use radioactive decay to generate random numbers. Very easy to implement using existeng technology, one of the few things that is completely random, and it's infinitely scalable to boot. A system I envision would simply moniter a radioactive sample for 1000 milli or micro seconds. Every sample time, it would record the number of fission events and if even, turn a bit on, if odd, turn the bit off. Then withing the space of a second you have a 1000 bit-long number that is COMPLETELY random.

    With this system perhaps it's possible to emulate the electric fields that generate the random number. Admittedly, with any complexity at all (as in a chip) this becomes impractical to do, but hey, why go for almost random when you can have truly random?

    1. Re:A Better System by Christopher+Thomas · · Score: 4, Informative

      A better system would be to use radioactive decay to generate random numbers. Very easy to implement using existeng technology, one of the few things that is completely random

      Your proposed method would be slightly skewed, as the half-life of the material would give you an "expected" number of events in your sampling period, which would cause the result to lean towards either even or odd. The effect would be small, but present.

      An alternative approach is to have two detectors, and see which one triggers first. While that method would have no systemic bias, removing intrinsic bias from differences in the samples would be difficult.

      The system in the new C3 chip, though, is also completely random if they designed it well (i.e. amplified thermal noise and rejected other noise sources). You have biasing problems, as with any other system where matching is important, but these can be overcome. Noise injection from other parts of the system is the thing to watch out for here.

      In summary, purely electrical random number generators can be just as random as your proposed scheme, and your proposed scheme is not significantly easier to implement.

    2. Re:A Better System by Rutulian · · Score: 2, Insightful

      Your proposed method would be slightly skewed, as the half-life of the material would give you an "expected" number of events in your sampling period, which would cause the result to lean towards either even or odd. The effect would be small, but present.

      Actually that would only be true if the sampling time was about equal to the half-life. Extrapolations from the half-life become much less reliable with smaller sampling times. So if you use something like plutonium, which has a huge half-life, and a sampling time of 1 second, you will get a distribution that is quite random. It would be pretty easy to set up too. All you need is a gas-filled detector in the GM region and some electronics.

    3. Re:A Better System by anthonyrcalgary · · Score: 2, Insightful

      Your proposed method would be slightly skewed, as the half-life of the material would give you an "expected" number of events in your sampling period, which would cause the result to lean towards either even or odd. The effect would be small, but present.

      I can think of many solutions...

      -Use an isotope with a really long half life, like Uranium. The change over the life of the device would be trivial. There are problems, like other atoms becoming radioactive, and isotopes in the decay chain having different half lives, but I think the bias could be kept small, like one bit in millions.

      -Constantly recalibrate by keeping a history of the last N decays, where N is large enough to converge on the actual number sufficiently well, but small enough that if the device was captured it will not reveal what numbers you've generated. Adjust your interval accordingly. The calibration may be biased, but the bias itself will be random and changed with each decay.

      -Count the time between decays, and generate bits by comparing the length of the intervals. If the second is greater, the random bit is a 1. If it's less, it's a 0. I think you could safely alternate between 0 and 1 on equal times, but don't take my word for it. This method would be the best, but half as fast.

      --
      When someone might yell at me, it has to be OpenBSD.
    4. Re:A Better System by Anonymous Coward · · Score: 2, Insightful

      This is really totally unworkable. VIA is trying to manufacture a cheap, cheap chip. Why would they want to mess with integrating radioactive material and detectors into their processor, when a simple overloaded transistor is just as random?? Really! Removing bias is a solved problem. The only place it's very difficult to generate random numbers is in pure software.

    5. Re:A Better System by John_Booty · · Score: 2, Funny

      Like my dual Athlon system doesn't run hot enough already... now you want me to put a decaying isotope in there as well? :-P

      --

      OtakuBooty.com: Smart, funny, sexy nerds.
  12. Man... by Obiwan+Kenobi · · Score: 4, Funny

    Man, you know you're hardcore when you get excited about a built in random number generator.

    Sample convo after purchase:

    [girlfriend] Honey, what is that?
    [you] (with great awe) The Vee-Eye-Aye Nehemiah C3 CPU with-
    [girlfriend] How much did that cost?
    [you] Wait, lemme finish-
    [girlfriend] Rent. Where is it.
    [you] But it has a-
    [girlfriend] You are not going to tell me that you spent our next month's rent on that *censored* piece of plastic.
    [you] (correcting happily) Silicone!

    You stare off. Slowly, you speak.

    [you] But it has a...random..number...generator. For strong...uh...crypto. You know, cryptography? Big numbers? Random?

    *the sound of footsteps trail away from you*

    [you] Honey?

    1. Re:Man... by Captain+Large+Face · · Score: 2, Funny

      ERROR: Unknown variable "girlfriend" encountered at line 1.

  13. Re:Imagine a Beowulf cluster of these... by cpeterso · · Score: 2, Informative


    or imagine a giant P2P random number generator, something like Linux's entropy pool, but across many nodes. The problem with this is that you cannot trust external sources for input, but perhaps you could "cross the streams" and safely mix them?

    It reminds me of Random.org, a web site/service that generates random numbers for you. I think they even sell CDs of random numbers.

    1. Random numbers
    2. ???
    3. Profit!!!

  14. What does this mean? by Tom7 · · Score: 2

    I don't understand what your post means...

    > If a machine can not generate a truly random number (not seed based)

    That's true, a deterministic machine can't generate a "truly" random number by definition. On the other hand, we can generate numbers that are cryptographically strong (infeasible to distinguish from "true" random numbers) on a deterministic machine, and we can build nondeterministic machines. This is about a nondeterministic machine.

    > ... and is not turing complete

    "Turing complete" refers to the computational power of a language or programming model -- that it can express any program that a turing machine can express. A turing machine can compute anything that we know how to compute, so saying that a machine is turing complete means that you can code any computable task on it. No machine is truly turing complete, because all machines are finite, but we think of basically everything that can compute (including humans) as turing complete.

    So, what does this have to do with artificial intelligence? Do you mean turing test?

    > can it be called Artificially Intelligent?

    Probably not, since nobody has written a computer program yet that we would think of as "intelligent."

    1. Re:What does this mean? by sco08y · · Score: 2, Funny

      I wrote a program that intelligently replies to Slashdot posts:

      10 PRINT "You fucking kharma whore!"
      20 PRINT "How the hell is that +5 funny?"
      30 PRINT "Quit fucking bitching about Slashdot posters!"
      40 GOTO 10

  15. finite state machine by shird · · Score: 3, Informative

    This is awesome, but I feel it kind of skews one of the great things about CPUs. Presently, the same piece of code, run a million times, will always produce the same outcome, and follow the same path of execution (providing it accesses no hardware - ie, no io instructions). With the addition of this instruction, you no longer have this fixed execution path.

    Still, with IO this 'problem' exists anyway (although only at ring 0 -intel). It just makes it difficult for heuristic anti-virus progams, and debugging etc, when the path of execution can be arbitrary. Nonetheless, I think its a cool concept, and great its being done at ring 3.

    --
    I.O.U One Sig.
  16. Beware this by WetCat · · Score: 2, Funny

    1. A good hardware built-in RNG introduced
    2. Everybody starts using it
    3. Some guys in a CPU company change it to not so good
    hardware RNG (for example f(x)=exp(sin(x)) etc)
    4. ...
    5. Profit?!

  17. Random Numbers? by blitzoid · · Score: 2, Funny

    I've got your random number RIGHT HERE...

    5,246,549!

    --
    I am a filthy pirate.
  18. They should hire my girlfriend by mao+che+minh · · Score: 4, Funny

    Despite my best efforts at randomly naming folders and subfolders, and randomly placing permissions on them, and then randomly naimg the files without any type of extension on them, my girlfriend is able to quickly locate and identify my porn - even though she barely knows how to operate a computer in general, let alone Linux. She is a natural at breaking encryption.

    1. Re:They should hire my girlfriend by YetAnotherDave · · Score: 4, Funny

      um, try actually encrypting it (lots of solid encrypted loopback FS options these days).
      If she can crack that, DON'T LET HER GET AWAY, she will make you both very wealthy...

  19. Re:Cant the randomness be predicted? by plover · · Score: 5, Informative
    The input is not supposed to be determined by the current state of the processor (insert obligatory Knuth state-of-sin joke here.) Their design consists of a set of freewheeling* oscillators: a ~600MHz oscillator that is then further "jittered" by a ~450MHz and an ~810MHz oscillator, sampled by a much slower ~30MHz oscillator. Their engineers assume that manufacturing variances, temperature, current processor state and other external factors will all contribute to this jittery response.

    * Freewheeling means that these oscillators are not tied to a crystal, and the frequency they oscillate at is not precisely locked at any exact rate (as would be the case if it employed a crystal.) These minute variations in frequency are the source of entropy the chip designers are actually gathering.

    The sampled bits are then "whitened" to reduce biases, and the whitened bits are stored in a FIFO queue until used.

    The paper in the article explains all this, and it talks about a couple of other cool cryptogeek features. You can change the bias voltage via CPU instruction (which would affect the jitter,) but each request of "randomness" comes with a pedigree indicating what bias settings were used! Finally, Cryptography Research's testing showed that they believe the chip (with whitening enabled) is capable of generating bits with an entropy of 0.99 bits/output bit, although they recommend trusting only a conservative entropy factor of about 0.75 bits/output bit. And since it generates bits at a rate of 30-50 million bits per second, most applications can probably afford to throw away a few in the name of entropy.

    --
    John
  20. Take a look a HotBits by Styx · · Score: 3, Informative

    John Walker, the founder of Autodesk, has made a system like that, from which offers random bits:

    HotBits
    --
    /Styx
  21. External hardware RNG by starman97 · · Score: 2, Informative

    Atom-Age made a hardware box that produced 64K of random numbers with
    every character entered in the serial port. They spent a lot of time
    isolating each stage to ensure no noise got to the thermal noise
    generator /amplifier. There was no whitening or other tricks played
    to make the numbers 'more random' There were 3 sets of batteries,
    a 9V for the noise source, C Cells for the microprocessor, and D cells
    to run the serial interface. The whole thing was encased in a steel box
    with sheilding around the connector and indicator lights. Analysis of
    the numbers showed very good randomness.

    Unfortunatly at $200 it never really sold well.
    They did release the code in the processor for inspection,
    I'm not sure about the schematics, probably not.

    --
    Starman97@Gmail.com (bring it on spammers)
  22. 32! 98! 43! 12! 0! 3! 453! by stratjakt · · Score: 2, Funny

    392! 3892! 7489!

    feel free to use any of those if you're short on cash and cant upgrade just yet.

    THEY ARE ALL OPEN SOURCE - FREE AS IN I'LL SUE YOU WHEN YOU GOT MONEY TO PAY!

    --
    I don't need no instructions to know how to rock!!!!
  23. A Cheaper System by plover · · Score: 3, Informative
    They're probably using electrical noise for both performance and cost reasons. The rate of decay of a safe amount of radioactive sample is quite slow compared to the amount of entropy you might be able to derive from it. (If the sample were decaying at the rate you suggest in your posting, you'd probably want to be wearing a lead codpiece if you were to sit in front of it. :-)

    This VIA chip is producing 30-50 million bits per second.

    Also, each radiological decay event would have more potential to cause bit rot in your normal CPU, memory or other chipset's operations.

    John Walker is already doing exactly this, producing random bits with a system he calls HotBits. Take a look at this page for his system and a good explanation. Of course I also think it may help to live in a castle with a 1-meter-thick-concrete-lined cistern located three-basement-levels-down to stick your Krypton-85 source in...

    And while using nuclear decay would raise the geek factor so high as to be measurable on a geiger counter, the manufacturing and disposal licensing and other handling problems that would accompany any usage of nuclear materials would be more than onerous for any company that had an economical alternative.

    --
    John
  24. Is it really so new? by stj · · Score: 5, Funny

    I remember when Cyrix had it's 100MHz CPUs with huge fans and everybody tweaked them to 133MHz, every long-term calculation on that involving FPU would give random numbers as the result...
    So, where is the novelty? ;-)

    --
    iThink iHate iMod
  25. "OT" (quote, unquote) by scotch · · Score: 4, Funny
    Isn't it interesting how much importance we place on quote unquote "true" randomness of numbers?

    You know, when you're able to use quote marks (" for example) in a written medium, you really don't need to spell out quote unquote as well. It really just doesn't make any sense - we can see the quote marks you used, spelling that idiom out doesn't add anything. People sometimes say "quote unquote" because you can't see the quote marks in their speech. Even this practice is ill-advised as it makes one sound like a drooling marketdroid (e.g. "At the end of the day, we need to quote unquote actualize profits by exceeding expenses with net income in order to meet quote-unquote business objective. Take an action quote-unquote item").

    This is the most bizarre thing I've seen all day. Please don't do it again. Thank you.

    --
    XML causes global warming.
  26. Re:Artificial Intelligence vs Artificial Stupidity by moonbender · · Score: 2, Informative

    The guy's name is Heisenberg. Sorry for nitpicking, but three posts in a row mispelling his name is a bit too much. The school I went to was named after him, incidently.

    --
    Switch back to Slashdot's D1 system.
  27. In the interest of national safety: by CoolGuySteve · · Score: 3, Funny

    Everyone should use the same random number.

    I think 23 is a good one, nice an prime, and close to 21 too!

  28. Re:Cool but... by TheMidget · · Score: 4, Funny

    Actually, the random number generator is the math coprocessor. And they are not even the first to think about this: such techniques were pioneered by Intel in the first Pentiums

  29. Nehemiah core on EPIA boards by Stormie · · Score: 2, Interesting

    Does anyone know when VIA intend to release an EPIA MiniITX motherboard with a Nehemiah-cored C3 CPU? Apparently the M10000 they released recently was supposed to be so equipped, but turned out to only have a 1GHz version of the older Ezra-T C3 core. Since the Nehemiah core has a lot of improvements, this random number generator amongst them, I'd rather hang out for it than buy an M10000 now.. but how long must I hang?

  30. Re:USELESS by viega · · Score: 4, Informative

    Is this a troll? Nevertheless, it is stupid, for a few reasons: 1) The Mersenne Twister is not cryptographically secure. 2) Even if it were, it would still need to be seeded with entropy, such as the kind provided by the VIA generator. 3) There's a big difference between entropy and pseudo-random numbers, anyway. 4) Entropy is crucial in many security-related applications. Of course, given sufficient entropy, you can stretch it out with a good cryptographic PRNG.

  31. more random number generators: by geekoid · · Score: 4, Funny

    The Beatle random number generator:
    number 9
    number 9
    number 9

    The monty python random number generator:
    6, no 8...AAAAaaahhhhhhh

    the ask a person to guess a number between 1-10 random number generator

    7
    3

    the Slashdot random number generator
    3.14, 1701, 2001, 69, 1337

    The Microsoft Random number generator
    7,7,7,7 yes its random, says so in the eula

    the pepsi random number generator:
    1

    the buffy random number generator:
    "you dare insult buffy? you are stupid AND you suck."wait, that was the "angery buffy fan response to a minor critque of the show generator"... my bad.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  32. Where does noise come from? by mindpixel · · Score: 4, Interesting

    I remmeber going to the university science library when I was 14 to try to find out how to write a program to generate random numbers...found a big yellow book about pseudo-random number generators and thought, no, I want a real random number generator...of course I opened the book and discovered that it is impossible inside a deterministic system...you have to stick an antenna into an external universe...then I thought where the fuck did the universe get noise? Why isn't the universe one big symmetric crystal?

    Now I sit here looking at a 2 billion year-old hypernova and no one here can answer this question (There are at least 5 cosmoligists within spitting distance of me right now)...

    1. Re:Where does noise come from? by Anonymous Coward · · Score: 2, Informative

      Because of quantum uncertainty. If there had been no quantum uncertainty then after the big bang every particle would have had perfectly equal forces on it and thus the Universe would have settled into a perfectly homogenous soup (or maybe a big symmetric crystal), quantum uncertainty caused minute vartiations in density, forces etc, which allowed clumps to form and hence stars, planets and everything else.

    2. Re:Where does noise come from? by kinnell · · Score: 2, Interesting
      where the fuck did the universe get noise?

      I think there are several conclusions you could come to:

      1. The book (or mathematics) is wrong
      2. The universe is not a deterministic system
      3. Random numbers do not exist

      I would lean towards 2 - aren't quantum processes such as radioactive decay non-deterministic? This seems to be a matter of opinion, even among great physicists. If, however you hold that the universe is deterministic, I suppose you would have to come to the conclusion that nothing is entirely random.

      As a side not, noise does not imply non-determinism: gaussian white noise, for example, is entirely deterministic (depending on the above ;-) ), and is generated in a system where a large number of "random" events summed together contribute to the whole. For example chaotic movements of electrons in a hot conductor giving rise to electrical noise. In such a case, the noise is in practice unpredictable, so is treated as non-deterministic.

      --
      If I seem short sighted, it is because I stand on the shoulders of midgets
  33. Humans vs. Machines by dstone · · Score: 2

    In fact, if you ask a human being for 3 random numbers, odds are very good that they will give you at least two sequential ones...such as 7 6 2...or 5 9 8...

    What do you mean by "very good" odds? If you ask a TRNG (true random number generator) for 3 random numbers, odds are quite good (40%) that it will give you at least two sequential ones. This is just rough math (supplied upon request) off the top of my head with the assumption that 9 and 0 are considered to be adjacent; odds would be slightly lower if we reject this. My point is that your example has fairly significant odds, even by a TRNG.

    But with random numbers...a human couldn't do it even remotely as well a computer can, so why is it considered such a weakness of computers?

    Humans can toss a coin or roll a die or spin a wheel. Those are actually decent ways to generate numbers. It's an ability to interface with entropy that humans have (and computers don't, unless you want to stuff a natural/mechanical/chaotic process into a hardware RNG). And the sequences generated by humans in those ways are not easily recreated or predicted and a seed value doesn't really exist to weaken the scheme either (as it does with software RNGs). Assuming you give the wheel/die/coin a really good spin!

  34. Why shouldn't there be noise? by Kalani · · Score: 2, Informative

    Consider a deterministic pseudorandom number generator that's highly sensitive to its initial conditions. Maybe that's the universe and we don't know it because we can't determine the initial conditions with absolute certainty nor can we even determine its current state with sufficient accuracy.

    What if space and time are discrete (Ed Fredkin and so on)? Of course, space couldn't be a rigidly even lattice (it could be a network of loosely connected nodes), but in this sense you have a rigorous foundation for modelling the evolution of the universe from one state to the next ... a computational process that defines how the universe operates. This process is only (universally) taking us toward increasing entropy, so it's a randomizing process by nature. Really I think that order is the oddity ... not randomness.

    --
    ___
    The ends are ape-chosen, only the means are man's. -- Aldous Huxley
  35. Mmm.. thermal noise by Scorchio · · Score: 2, Interesting

    Similar to what Douglas Adams suggested as a random number generator, 25 years or so ago, I guess. This implementation is a little more convenient - although slightly less tasty - than a fresh really hot cup of tea.