Offline
Full Member
Karma: 0
Posts: 135
|
 |
« Reply #15 on: June 15, 2012, 02:03:37 am » |
I'm afraid I don't have an ethernet shield, so that's not an option!
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19001
I don't think you connected the grounds, Dave.
|
 |
« Reply #16 on: June 15, 2012, 02:51:20 am » |
If finding enough entropy is the only problem, I'm willing to offer my son's bedroom as a useful source.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 71
Posts: 6806
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #17 on: June 15, 2012, 04:17:49 am » |
my son's bedroom Now there's a source we haven't considered before. Probably the only one left I think. Note that the Due should finally lay this to rest as the SAM3X has TRNG hardware. ______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
Dallas, Texas
Offline
God Member
Karma: 1
Posts: 690
Old, decrepit curmugeon
|
 |
« Reply #18 on: June 15, 2012, 07:14:15 am » |
Any one who considers arithmetical methods of producing random digits is, of course, in a state of sin - John von Neumann
If you really want better randomness, you pretty much have to get it from some external physical source.
It really depends upon what you are using the 'randomness' for. For instance simulation techniques do not usually need true randomness--only something that is close. Something mathematical techniques are usually well suited for. And there are a few mathematical generators that outperform all but the best of the physical sources. Most true sources of entropy; radioactive DECAY; avalanche noise; Johnson noise; clock jiggered; all require deterministic whitening techniques in order to produce unbiased random numbers. And they are very temperamental. Small changes to their operating environment can severely compromise their performance.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 135
|
 |
« Reply #20 on: June 15, 2012, 11:54:21 am » |
990 €.
I'm nowhere NEAR that desperate. I don't need it to stand up to an army of statisticians, I just need something more random than what the Arduino can do on its own! I think the entropy library will work fine.
|
|
|
|
|
Logged
|
|
|
|
|
St. Leonards-on-Sea, E. Sussex, UK.
Offline
Sr. Member
Karma: 2
Posts: 288
Ancient developer
|
 |
« Reply #21 on: June 15, 2012, 01:01:55 pm » |
Exploiting quantum mechanics like that is a clever idea, though.
|
|
|
|
|
Logged
|
Leon Heller G1HSM
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19001
I don't think you connected the grounds, Dave.
|
 |
« Reply #22 on: June 15, 2012, 01:52:38 pm » |
Exploiting quantum mechanics like that is a clever idea, though. But think of all the poor cats.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 135
|
 |
« Reply #23 on: June 15, 2012, 03:19:41 pm » |
Couldn't you use a tunnel diode to achieve about the same thing? Of course, they're more expensive than Zeners....
|
|
|
|
|
Logged
|
|
|
|
|
St. Leonards-on-Sea, E. Sussex, UK.
Offline
Sr. Member
Karma: 2
Posts: 288
Ancient developer
|
 |
« Reply #24 on: June 15, 2012, 03:38:02 pm » |
Tunnel diodes aren't suitable as noise generators.
|
|
|
|
|
Logged
|
Leon Heller G1HSM
|
|
|
|
Offline
Sr. Member
Karma: 0
Posts: 451
I am a amateur.
|
 |
« Reply #25 on: June 15, 2012, 05:21:57 pm » |
I just skimmed through the thread, so I don't know if someone mentioned this already. How about trying http://code.google.com/p/tinkerit/wiki/TrueRandom. They claim that it is very random. It uses analog input A0, and some other stuff.
|
|
|
|
|
Logged
|
|
|
|
|
Dallas, Texas
Offline
God Member
Karma: 1
Posts: 690
Old, decrepit curmugeon
|
 |
« Reply #26 on: June 15, 2012, 05:25:25 pm » |
They claim it is random; however, it fails even the simple tests Entropy = 6.440816 bits per byte. Optimum compression would reduce the size of this 1,002,424 byte file by 19.49% Chi square distribution for 1,002,424 samples is 4802982.71, and randomly would exceed this value 0.00% percent of the time. Arithetic mean value of data bytes is 100.3535 (127.5 = random) Serial correlation coefficient is 0.042774 (totally uncorrelated = 0.0).
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 135
|
 |
« Reply #27 on: June 15, 2012, 05:38:39 pm » |
I'm intrigued as to where you got those test results from... whatever you used for it seems like it would be very useful!
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 116
Posts: 10132
|
 |
« Reply #28 on: June 15, 2012, 05:39:57 pm » |
ent can be downloaded here... http://www.fourmilab.ch/random/Just feed it a file of binary data. Try a few JPGs.
|
|
|
|
|
Logged
|
|
|
|
|
Dallas, Texas
Offline
God Member
Karma: 1
Posts: 690
Old, decrepit curmugeon
|
 |
« Reply #29 on: June 15, 2012, 05:49:14 pm » |
As CodingBadly mentioned ent is the source of the test results I posted; however, I made a python script that performed those tests with a few options along with some graphs which I find useful; histogram and scatter. That python script can be found here; http://code.google.com/p/avr-hardware-random-number-generation/source/browse/analyze.py
|
|
|
|
|
Logged
|
|
|
|
|
|