Researchers Build True Random Number Generator From Carbon Nanotubes (ieee.org)
Wave723 writes: IEEE Spectrum reports on a true random number generator that was created with single-walled semiconducting carbon nanotubes. Researchers at Northwestern University printed a SRAM cell with special nanotube ink, and used it to generate random bits based on thermal noise. This method could be used to improve the security of flexible or printed electronics. From the report: "Once Mark Hersam, an expert in nanomaterials at Northwestern University, and his team had printed their SRAM cell, they needed to actually generate a string of random bits with it. To do this, they exploited a pair of inverters found in every SRAM cell. During normal functioning, the job of an inverter is to flip any input it is given to be the opposite, so from 0 to 1, or from 1 to 0. Typically, two inverters are lined up so the results of the first inverter are fed into the second. So, if the first inverter flips a 0 into a 1, the second inverter would take that result and flip it back into a 0. To manipulate this process, Hersam's group shut off power to the inverters and applied external voltages to force the inverters to both record 1s. Then, as soon as the SRAM cell was powered again and the external voltages were turned off, one inverter randomly switched its digit to be opposite its twin again. 'In other words, we put [the inverter] in a state where it's going to want to flip to either a 1 or 0,' Hersam says. Under these conditions, Hersam's group had no control over the actual nature of this switch, such as which inverter would flip, and whether that inverter would represent a 1 or a 0 when it did. Those factors hinged on a phenomenon thought to be truly random -- fluctuations in thermal noise, which is a type of atomic jitter intrinsic to circuits." Hersam and his team recently described their work in the journal Nano Letters.
42
Making a RNG from inverters is an old trick (shameless plug). So if there's any news here, it's making an inverter from nanotubes?
Escher was the first MC and Giger invented the HR department.
The random generator passed only 9 of 15 standard randomness tests of NIST. Not surprising - it is unlikely that the two inverter branches are identical to the atom level, and that is a prerequisite that the thermal noise has exactly equal chance of flipping either branch.
The first test of a good random number generator is obviously whether it can generate a true random number under normal operation conditions. This they claim to have accomplished.
The second test is just as critical and I'd be very interested in the result: Can any kind of manipulation be easily detected? Or is it possible to tamper with the device in such a way that it does generate a number predetermined by the manipulator without anyone else being able to determine that such manipulation took place?
We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
Have you looked at what's coming out of the White House?
but it may not from the Universe' point of view.
According to Gerard 't Hooft, the superdeterminism loophole cannot be dismissed.
The Free-Will Postulate in Quantum Mechanics
https://arxiv.org/abs/quant-ph...
Entangled quantum states in a local deterministic theory
https://arxiv.org/abs/0908.340...
Government cannot make man richer, but it can make him poorer. - Ludwig von Mises
OK, so, it's generating a series of truly random 0s and 1s. I don't have access to the article, but my question is if this truly random number generator has been identified as being a part of some stochastic process, like a binomial or poisson process? Would appreciate some more insight on this.
You might want to read up on quantum theory sometime when you're done with Sesame Street.
Only if you say it three times while facing a mirror in the dark.
"If we knew the state of every charged particle in the universe at a given time, we could compute the radiated fields from each and arrive at the actual value of RF noise detected some time later."
No, we couldn't, because ultimately a lot of the causes of EM emission are quantum and they are truly random.
"If we knew the state of every charged particle in the universe at a given time"
Read up on Heisenbergs Uncertainty Principle then get back to us. You're a moron.
Creating hardware RNGs is pretty trivial with off-the-shelf electronics; people have been using reverse-biased PN junctions on transistors for this application since forever.
At the voltage-level you get, very roughly half of the noise is quantum and "true" random (which is just Physic-speech for "we have no idea how it works"). Amplify, digitize, pipe into a randomness-pool and you are done. Can be accomplished for $20 or so in parts.
Or you can use a Zener Diode, and some RF amplifiers: https://www.maximintegrated.co...
Spectrum here goes well over 100MHz.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
Researcher 1: "Our nanotube project is outputting completely garbage data. I guess this means we can't publish."
Researcher 2: "Or... can we?"
When things get complex, multiply by the complex conjugate.
Everything in the universe is predictable, including so called "chaos". There is no such thing as truly random.
Wow! I knew there was a Flat Earth Society, I didn't know there was a Newton's Mechanical Universe Society. Old beliefs die hard.
although some things are sufficiently unpredictable as to be "close enough". Thermal noise, as this method is using, usually falls into this category.
I personally prefer algorithmic methods of generating random numbers. Sufficiently designed functions can perform well on random analysis while still offering you the option of fixed seeding for those cases where you need a consistent stream. (mainly used for testing and cryptography)
I work for the Department of Redundancy Department.
Which "quantum theory"? Quantum mechanics which uses statistical analysis? Quantum Field Theory which uses renormalization and statistical analysis? String theory which uses multi-dimensional tensor analysis? All of these are converging on higher dimensional linear algebra and are using techniques and strategies from computer science, complexity theory, information theory, and other deterministic disciplines.
What reading have you done?
Physics claims that the laws of the universe are either fixed or can only change in a fixed way. That is determinism. It doesn't mean that the entire future is already completely predictable. It means that the phenomena that we observe can only be explained by principles which assume a very specific level of consistency. A mathematical type of consistency that implies a type of structure that you cannot escape. Things which look random to us are simply large-scale phenomena that are beyond our ability to completely systematically understand in a single unit of time or space. These are complex systems with dynamic outcomes. However, they are all driven by ruthless, deterministic, mathematical calculations.
Since there isn't a mathematical definition of random generation, I would assume at this point it would be more reasonable to ask for proof that randomness is even a property of the universe at all. You can find mathematical theories that rely on randomness or random distributions. What you will never find is a real-world physical explanation for randomness because physics keeps saying it doesn't exist. What physics maintains is that there is a set of information in the universe, only part of which we understand. The rest is called entropy and when we bump into it, it looks random but it was really just stuff we didn't know that was already there doing deterministic stuff.
The air in the room you are breathing is a great example. It's "random" except that we can explain every molecule over air using the standard model of physics. So it's really not random. It's just very damned complicated.
Everything in the universe is predictable, including so called "chaos". There is no such thing as truly random.
Those who do not know quantum mechanics are condemned to carry on ignoring it.
I'm not sure how to parse your statement. You seem to be using a very strange definition of determinism.
In physics, determinism would mean that if one could know the position, speed, charge, spin, and every other defining property of every particle in the universe, one could theoretically calculate the entire history and future of the universe. The universe isn't non-deterministic simply because that calculation would be too immense to process and the data impossible to collect, but because of the inherent uncertainty and superposition of many of those properties as well as the uncertainty in the outcome of particle interactions. If two particles interact, we can work out the probability of their interaction producing a wide range of particles, but we can't know which will come to pass.
Particle physics is based upon probabilities -- which is the exact opposite of determinism. Even though it's not random, it's not deterministic simply because there are rules to help determine probable outcomes. Einstein didn't like quantum mechanics because it wasn't deterministic -- thus his famous "God does not play dice with the universe." quote.
It's as if you're saying a dice roll isn't random simply because there are rules -- it must land on one of 6 sides. There are distributions other than random ones in particle physics -- normal distributions which aren't random, but instead show that some things are more likely to happen than others... but, that's again due to rules -- like mass/energy conservation rules & interference patterns. Particles often "break" rules -- like with quantum tunneling. So, even rules aren't so much rules as guidelines... as long as everything balances at the end. A particle can borrow energy to tunnel through a barrier so long as it gives the energy back when it's done.
It may be that you already understand this, but believe there is some deeper understanding in string theory (or the debunked pilot wave theory) or some other philosophy where you think we just don't understand and know enough to see the underpinnings of everything... but... physicists are pretty darned certain that random things happen all the time, the universe is inherently non-deterministic, and things happen based upon probabilities, not certainties... and there's really nothing deeper to explain the weirdness of it all.
As I posted above, we do not know this. IF you accept e.g. the holographic MODEL of string theory, then there is no entropy even at the quantum level. On the other hand there are plenty of articles in QFT that discuss the possibility that QFT is truly irreversible at some level so the direction of time is not just a consequence of entropy.
It is perfectly fine to think that one or the other of these is "more likely" to be true on the basis of what one knows or guesses, but because physics is not religion it is not appropriate to state that there is not random as a proven fact, that the entropy of the Universe is zero and there are no true entropy sources. Ultimately this, like everything else, is an empirical question.
Personally I agree with you and think that whether or not the holographic model per se is correct, QFT is probably reversible and that the Universe is in a zero entropy (definite) state with no "outside" source of entropy to make it non-deterministic on the basis of internal dynamics alone. But in the end, experiments talk, bullshit walks and even the sexiest theoretical model is bullshit until it is confirmed by experiment.
Even when the experts all agree, they may well be mistaken. --- Bertrand Russell.
int rand(){ // I rolled a 6 sided die to get a random number.
return 3;
}
BAH.
By definition carbon nanotubes are all inanimate carbon rods.
the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff
...and they along with most lottery commissions deferred to George Marsaglia while he was alive.
"His name was James Damore."
Just post something snarky and wait for it to get modded a mix of: funny, troll and informative ...
It must have been something you assimilated. . . .
When your full time job is designing RNGs, Reading articles on RNGs can be a little painful.
The term "TRNG" (True Random Number Generator) is a poorly defined thing. I think people think it means 'ideal non deterministic' but it's never used in that context and in this case we certainly don't have such a thing.
The thing they designed is a an "entropy source". It produces partially entropic nondeterministic data.
The chain of events in an RNG is..
Entropy source --> Online Test --> Entropy Extractor --> (If needed for performance) A CS-PRNG. (crypographically secure pseudo random number generator).
Entropy source : Makes partially entropic data. It doesn't matter what kind of source it is, whether quantum, lava lamp, circuit or whatever else, you never get perfect entropy from a physical process. The entropy extractor distills this kind of data into a smaller amount of data that is close to full entropy. 'Close' is mathematically described in terms that matter in cryptography.
Online Test: Continuously checks the ES is working while it's running. -- Top tip - This is the hard bit in RNG design.
So unless they can build and online test an entropy extractor in carbon nanotubes, they don't have a solution but they do have an entropy source. I don't know if they have done this or not, because the link in TFA doesn't work, despite my corporate IEEE account. If they have, then well done. If not, it's interesting anyway, but not ready for application.
I should use this sig to advertise my book ISBN-13 : 978-1501515132.
>and the Nevada Gaming Control Board are the arbiters on this matter.
The Nevada Gaming Control Board has an alarmingly weak set of rules for RNGs in gaming machines. It is trivial to make a non random RNG that meets the spec. It is as follows:
1.400 Random Selection Process and Random Number Generator
1. The random selection process must meet 95 percent confidence limits using a standard
chi-squared test for goodness of fit.
2. A gaming device using a software random number generator (RNG) shall:
(a) Not use static seed upon initialization;
(b) Cycle the RNG at a minimum average rate of 100Hz (100 times per second); and
(c) Not draw RNG values for future play.
3. A gaming device using a hardware random number generator shall:
(a) Continually monitor the RNG to ensure compliance with this standard. This shall be done
by performing a chi-squared goodness of fit evaluation over the most recent 10,000 random
outcomes selected for game play;
(b) Automatically maintain an event log displaying the results of the most recent 10 chisquared
tests to include the result of the test and the date and time the test was performed;
(c) Display a visual indicator of a failure; and
(d) Upon, two consecutive failures, enter into a tilt condition.
4. RNG’s used for purposes other than determining the game outcome must either:
(a) Be implemented as a separate instantiation of the RNG process; or
(b) Be based on an algorithm or method that can be demonstrated does not affect the game
outcome.
5. A game that draws a predetermined set of outcomes for a game, such as a shuffled deck
of cards, must prevent the information from being accessible.
6. Additionally, video poker games must not determine replacement cards prior to the player
selecting hold cards and initiating a draw.
7. The RNG and random selection process must be impervious to influences from outside the
device, including, but not limited to, electro-magnetic interference, electro-static interference, and
radio frequency interference.
8. A gaming device must use appropriate communication protocols to protect the random
number generator and random selection process from influence by associated equipment or other
devices which is conducting data communications with the gaming device.
There are many things wrong with this.
ChiSq GOF test for randomness is only a bias test. This 111111111111111110000000000000000000 would pass a Chi-sq test.
95% Confidence limits? You can be wrong 5% of the time?
Minimal conformance to this: "(b) Cycle the RNG at a minimum average rate of 100Hz (100 times per second); " Was used in an active timing attack against a slot machine.
This "(a) Continually monitor the RNG to ensure compliance with this standard. This shall be done
by performing a chi-squared goodness of fit evaluation over the most recent 10,000 random
outcomes selected for game play;" Is trivial to comply with in a completely non random system.
This is impossible: "7. The RNG and random selection process must be impervious to influences from outside the
device, including, but not limited to, electro-magnetic interference, electro-static interference, and
radio frequency interference."
I should use this sig to advertise my book ISBN-13 : 978-1501515132.
If this can be effectively commercialized, it would be a game-changer (no pun intended).
Ohh. Let me try!
Current physical laws have non determinism built in, because this is what we observe in nature.
However the cause of that non determinism is not explained. It is an observation. It works very well in describing the world we see.
We could if we were speculating wildly, envisage every point in the universe at some sub plank scale containing a uniquely seeded deterministic RNG that is used to decide the outcome of interactions, and we wouldn't be able to tell the difference.
So it's reasonable to 'believe' we have a non deterministic universe, because it's what we see but we don't actually know, and you could equally reasonably choose to 'believe' we live in a deterministic universe because we don't know fundamental laws that would create non-determinism out of determinism, so the non determinism we see is more likely to be from a complex deterministic process underneath.
Since I've had about a decade where the answer to these questions mattered a lot to me (I work in crypto and mostly in RNGs for crypto) I've landed a lot more firmly in the "we don't know" camp and the "We can't tell the difference" camp.
I should use this sig to advertise my book ISBN-13 : 978-1501515132.
>Since there isn't a mathematical definition of random generation
Yes there is. There are several. Here are 4: HILL, Yao, Unpredicatibility and Information Theoretic entropy:
https://pdfs.semanticscholar.o...
I should use this sig to advertise my book ISBN-13 : 978-1501515132.
Over 10 years ago someone invented a PCI card that splits photons left or right over some kind of quantum thing and it's provably flawlessly random. Why is someone bothering to try and outdo that?
Is a reverse biased pn junction a random noise source? Is this better? In what way?
The universe's behavior is, for all intents and purposes, non-deterministic in the sense that any ability one may allegedly have to accurate predict the outcome of some state of the even a very tiny subset of the universe given all all available input cannot actually be observed.
Proof:
Assume that a black box could exist that can predict the outcome of a particular experiment wherein the output of black box is read as input. If this cannot be done, then any so-called deterministic nature to the universe is irrelevant, because you can't assume that any particular predicted outcome is necessarily what will actually happen.
The experiment is designed as follows: A mechanism has two levers, one on the right and one on the left, and is designed to read the output of the black box, and activate the lever that the black box indicates. The left lever of the mechanism outputs "right" while the right lever out outputs "left". The black box simply has to produce as output whatever the mechanism ultimately will. However, similar to the halting problem, this creates a paradox, as you can see that despite the entirely deterministic nature of the experiment, the black box cannot be used to predict its outcome.
Therefore, either the universe is non-deterministic, or else it is non-deterministic for all practical purposes, since any so-called prediction can only be as accurate insomuch as that information is never actually observed in the present. I personally subscribe to the former position because I believe it is the simpler situation, but even if the latter were true, it is entirely irrelevant to reality.
And if you can't predict the outcome of a random number generator, even if you know absolutely everything about it, what is the difference between that and truly random?
File under 'M' for 'Manic ranting'
Quantum theory where there are no local hidden variables? Take an electron with spin straight up, and run it through an apparatus to check its spin horizontally? Last I looked (quite some time ago), quantum random values were generally from radioactive decay.
"When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes