Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #403026 > unrolled thread

Exhausted

Started by"David Eather" <eather@tpg.com.au>
First post2016-03-16 15:53 +1000
Last post2016-03-17 17:29 -0700
Articles 20 on this page of 49 — 15 participants

Back to article view | Back to sci.electronics.design


Contents

  Exhausted  "David Eather" <eather@tpg.com.au> - 2016-03-16 15:53 +1000
    Re: Exhausted Klaus Kragelund <klauskvik@hotmail.com> - 2016-03-16 01:07 -0700
    Re: Exhausted George Herold <gherold@teachspin.com> - 2016-03-16 06:04 -0700
      Re: Exhausted "David Eather" <eather@tpg.com.au> - 2016-03-17 00:16 +1000
        Re: Exhausted Allan Herriman <allanherriman@hotmail.com> - 2016-03-16 16:35 +0000
          Re: Exhausted George Herold <gherold@teachspin.com> - 2016-03-16 11:15 -0700
            Re: Exhausted Allan Herriman <allanherriman@hotmail.com> - 2016-03-17 12:11 +0000
        Re: Exhausted mrdarrett@gmail.com - 2016-03-17 10:37 -0700
          Re: Exhausted "David Eather" <eather@tpg.com.au> - 2016-03-18 07:25 +1000
            Re: Exhausted mrdarrett@gmail.com - 2016-03-17 15:05 -0700
      Re: Exhausted Winfield Hill <hill@rowland.harvard.edu> - 2016-03-16 07:32 -0700
        Re: Exhausted George Herold <gherold@teachspin.com> - 2016-03-16 08:04 -0700
          Re: Exhausted Winfield Hill <hill@rowland.harvard.edu> - 2016-03-16 08:16 -0700
          Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-16 10:32 -0700
            Re: Exhausted George Herold <gherold@teachspin.com> - 2016-03-16 11:08 -0700
              Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-16 12:30 -0700
                Re: Exhausted Clifford Heath <no.spam@please.net> - 2016-03-17 06:47 +1100
                  Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-16 17:01 -0700
                    Re: Exhausted Clifford Heath <no.spam@please.net> - 2016-03-17 07:01 +1100
                      Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-16 17:27 -0700
                        Re: Exhausted Piotr Wyderski <peter.pan@neverland.mil> - 2016-03-17 17:35 +0100
                          Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-17 10:13 -0700
                          Re: Exhausted Clifford Heath <no.spam@please.net> - 2016-03-18 11:38 +1100
                    Re: Exhausted dplatt@coop.radagast.org (Dave Platt) - 2016-03-16 17:17 -0700
                      Re: Exhausted Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-03-16 17:21 -0700
                        Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-16 17:39 -0700
                          Re: Exhausted "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-03-16 21:24 -0500
                            Re: Exhausted Phil Hobbs <pcdhobbs@gmail.com> - 2016-03-16 20:51 -0700
                          Re: Exhausted George Herold <gherold@teachspin.com> - 2016-03-16 20:21 -0700
                            Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-16 21:16 -0700
                      Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-16 17:34 -0700
                        Re: Exhausted "David Eather" <eather@tpg.com.au> - 2016-03-18 07:31 +1000
                    Re: Exhausted rickman <gnuarm@gmail.com> - 2016-03-17 00:01 -0400
                      Re: Exhausted Clifford Heath <no.spam@please.net> - 2016-03-17 14:09 +1100
                        Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-17 09:01 -0700
                        Re: Exhausted Piotr Wyderski <peter.pan@neverland.mil> - 2016-03-17 17:46 +0100
                          Re: Exhausted "David Eather" <eather@tpg.com.au> - 2016-03-18 07:33 +1000
                      Re: Exhausted "David Eather" <eather@tpg.com.au> - 2016-03-18 07:35 +1000
                        Re: Exhausted Piotr Wyderski <peter.pan@neverland.mil> - 2016-03-18 11:44 +0100
        low-voltage low-current noise sources Winfield Hill <hill@rowland.harvard.edu> - 2016-03-16 08:10 -0700
    Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-16 08:35 -0700
      Re: Exhausted "David Eather" <eather@tpg.com.au> - 2016-03-18 07:52 +1000
        Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-17 15:35 -0700
          Re: Exhausted "David Eather" <eather@tpg.com.au> - 2016-03-18 09:09 +1000
            Re: Exhausted John Larkin <jjlarkin@highlandtechnology.com> - 2016-03-17 16:54 -0700
            Re: Exhausted George Herold <gherold@teachspin.com> - 2016-03-17 17:40 -0700
              Re: Exhausted mixed nuts <melopsitticus@undulatus.budgie> - 2016-03-17 22:37 -0400
          Re: Exhausted "David Eather" <eather@tpg.com.au> - 2016-03-18 09:09 +1000
          Re: Exhausted George Herold <gherold@teachspin.com> - 2016-03-17 17:29 -0700

Page 2 of 3 — ← Prev page 1 [2] 3  Next page →


#403233

FromPiotr Wyderski <peter.pan@neverland.mil>
Date2016-03-17 17:35 +0100
Message-ID<ncemcj$tq2$1@node2.news.atman.pl>
In reply to#403154
John Larkin wrote:

 > Well, you would certainly use it to seed some other, private random
> number generator, not just as-received.

Warning, you are about to re-discover the famous Debian SSL bug:

https://www.schneier.com/blog/archives/2008/05/random_number_b.html

Their seed was non-deterministic, but too predictable.

	Best regards, Piotr

[toc] | [prev] | [next] | [standalone]


#403240

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-17 10:13 -0700
Message-ID<mbpleb5rmld0j13k7nnbimf2edn9phvr8u@4ax.com>
In reply to#403233
On Thu, 17 Mar 2016 17:35:31 +0100, Piotr Wyderski
<peter.pan@neverland.mil> wrote:

>John Larkin wrote:
>
> > Well, you would certainly use it to seed some other, private random
>> number generator, not just as-received.
>
>Warning, you are about to re-discover the famous Debian SSL bug:
>
>https://www.schneier.com/blog/archives/2008/05/random_number_b.html
>
>Their seed was non-deterministic, but too predictable.
>
>	Best regards, Piotr

Seems to me that truly random numbers are inherently uninitialized
data. Isn't there a 'volatile' directive for stuff like this?




-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#403311

FromClifford Heath <no.spam@please.net>
Date2016-03-18 11:38 +1100
Message-ID<56eb874c$0$7330$c3e8da3$66d3cc2f@news.astraweb.com>
In reply to#403233
On 18/03/16 03:35, Piotr Wyderski wrote:
> John Larkin wrote:
>  > Well, you would certainly use it to seed some other, private random
>> number generator, not just as-received.
> Warning, you are about to re-discover the famous Debian SSL bug:
> https://www.schneier.com/blog/archives/2008/05/random_number_b.html
> Their seed was non-deterministic, but too predictable.

To be fair, Eric never intended the default RNG to be used in anger.
I know that, because it was he who told me that we should consider a
better source of randomness, especially for for banking. And then the
security auditors crawled over my implementation in some detail.

(Eric = Eric A Young, author of SSLeay, lately known as OpenSSL).

[toc] | [prev] | [next] | [standalone]


#403152

Fromdplatt@coop.radagast.org (Dave Platt)
Date2016-03-16 17:17 -0700
Message-ID<am9prc-l42.ln1@coop.radagast.org>
In reply to#403150
In article <epsjeb928pv3n7d6m4j583t8fnmbbrjsad@4ax.com>,
John Larkin  <jjlarkin@highlandtechnology.com> wrote:

>I wonder if there is a public random data generator somewhere on the
>internet. You could use ping times or something as a source of
>randomness.

I think you'd find that the entropy available from ping times is
rather poor.  There are more sources of correlation than you might expect.

>Any online webcam should provide a lot of noise.

One classic approach was to aim a webcam at a Lava Lamp, or one of the
similar amusements that were filled with a glitter-loaded liquid.
Taking two frames several seconds apart, and calculating the
difference, produced some reasonably decent entropy.

Getting really *good* random entropy is surprisingly difficult,
especially if you're concerned about having it *stay* random in the
face of attacks, outside interference, "pulling", etc. which can make
it more predictable.

[toc] | [prev] | [next] | [standalone]


#403153

FromLasse Langwadt Christensen <langwadt@fonz.dk>
Date2016-03-16 17:21 -0700
Message-ID<0a92bfbe-de18-4c5a-9fd5-dd396493ecf4@googlegroups.com>
In reply to#403152
Den torsdag den 17. marts 2016 kl. 01.14.48 UTC+1 skrev Dave Platt:
> In article <epsjeb928pv3n7d6m4j583t8fnmbbrjsad@4ax.com>,
> John Larkin  <jjlarkin@highlandtechnology.com> wrote:
> 
> >I wonder if there is a public random data generator somewhere on the
> >internet. You could use ping times or something as a source of
> >randomness.
> 
> I think you'd find that the entropy available from ping times is
> rather poor.  There are more sources of correlation than you might expect.
> 
> >Any online webcam should provide a lot of noise.
> 
> One classic approach was to aim a webcam at a Lava Lamp, or one of the
> similar amusements that were filled with a glitter-loaded liquid.
> Taking two frames several seconds apart, and calculating the
> difference, produced some reasonably decent entropy.
> 
> Getting really *good* random entropy is surprisingly difficult,
> especially if you're concerned about having it *stay* random in the
> face of attacks, outside interference, "pulling", etc. which can make
> it more predictable.

remember someone using a webcam and the Americium-241 source from a 
smoke detector

-Lasse

[toc] | [prev] | [next] | [standalone]


#403159

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-16 17:39 -0700
Message-ID<6sujebt1ae2uchvoud4gmkck9k1kl48jcu@4ax.com>
In reply to#403153
On Wed, 16 Mar 2016 17:21:15 -0700 (PDT), Lasse Langwadt Christensen
<langwadt@fonz.dk> wrote:

>Den torsdag den 17. marts 2016 kl. 01.14.48 UTC+1 skrev Dave Platt:
>> In article <epsjeb928pv3n7d6m4j583t8fnmbbrjsad@4ax.com>,
>> John Larkin  <jjlarkin@highlandtechnology.com> wrote:
>> 
>> >I wonder if there is a public random data generator somewhere on the
>> >internet. You could use ping times or something as a source of
>> >randomness.
>> 
>> I think you'd find that the entropy available from ping times is
>> rather poor.  There are more sources of correlation than you might expect.
>> 
>> >Any online webcam should provide a lot of noise.
>> 
>> One classic approach was to aim a webcam at a Lava Lamp, or one of the
>> similar amusements that were filled with a glitter-loaded liquid.
>> Taking two frames several seconds apart, and calculating the
>> difference, produced some reasonably decent entropy.
>> 
>> Getting really *good* random entropy is surprisingly difficult,
>> especially if you're concerned about having it *stay* random in the
>> face of attacks, outside interference, "pulling", etc. which can make
>> it more predictable.
>
>remember someone using a webcam and the Americium-241 source from a 
>smoke detector
>
>-Lasse

If you are willing to build a little hardware, a zener or Johnson
noise is physically random. Then you just need a good hasher.

Lots of people make USB random number generators. Buy a few from
different people and mush them up.

https://en.wikipedia.org/wiki/Comparison_of_hardware_random_number_generators


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#403173

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2016-03-16 21:24 -0500
Message-ID<ncd4fs$eh8$1@dont-email.me>
In reply to#403159
"John Larkin" <jjlarkin@highlandtechnology.com> wrote in message 
news:6sujebt1ae2uchvoud4gmkck9k1kl48jcu@4ax.com...
> If you are willing to build a little hardware, a zener or Johnson
> noise is physically random. Then you just need a good hasher.
>

You're not talking different things.

At the moment, we don't know how to manipulate atomic-scale electrical 
noise.  Presumably, something like an array of phonon lasers (sasers) might 
be able to manipulate or skew the statistics, and by that I mean, besides 
obvious high level changes, like increasing the temperature by bombarding 
the target with wideband incoherent acoustic energy, a.k.a. 
heat-as-we-know-it!

Which is to say, electrical noise is, on its most basic level, simply taking 
a huge enough convolution of sources (random directions, frequencies and 
amplitudes) that, even if perfect knowledge could be had of the phonons in 
the solid, the electrical signal resulting from those particles couldn't be 
predicted exactly within the age of the universe.

The same could be done with the Internet, but it's not quite large enough 
for that to be viable.  It's still possible for a very powerful adversary 
(like the NSA) to record far more data than your net-RNG system collects, 
making it vulnerable.

When Moore's Law finally winds down towards its information-theoretic limit, 
quantum entanglement will become that much more elementary to "basic 
superultrahigh-bandwidth" communications, and it will finally become 
impractical to make copies of intercepted communications.  At the moment, 
we're something like 10^6 times more power-inefficient than theory, so 
storing traffic wholesale is down in the noise floor (all it costs is our 
hot and bulky RAM and hard drives, and the power to run them.. so, er.. 
yeah).

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: http://seventransistorlabs.com 

[toc] | [prev] | [next] | [standalone]


#403180

FromPhil Hobbs <pcdhobbs@gmail.com>
Date2016-03-16 20:51 -0700
Message-ID<105f9f72-9b01-43e1-b3b8-1166ca319194@googlegroups.com>
In reply to#403173
>When Moore's Law finally winds down towards its information-theoretic limit, 
>quantum entanglement will become that much more elementary to "basic 
superultrahigh-bandwidth" communications, and >it will finally become 
impractical to make copies of intercepted >communications.  At the moment, 
we're something like 10^6 times more power->inefficient than theory, so 
storing traffic wholesale is down in the noise >floor (all it costs is our 
hot and bulky RAM and hard drives, and the >power to run them.. so, er.. 
yeah). 

And as the sun sinks slowly into the west, we bid a fond farewell....

Cheers

Phil Hobbs

[toc] | [prev] | [next] | [standalone]


#403178

FromGeorge Herold <gherold@teachspin.com>
Date2016-03-16 20:21 -0700
Message-ID<b014719c-7827-4044-8ff4-20caffe320d0@googlegroups.com>
In reply to#403159
I know I've said this before,
a 20V zener from 30V rail, with ~a few hundred k to meg of resistance,
makes big noise spikes consistently (in the dark).  Band width 
drops off above ~1 MHz  

George H. 

[toc] | [prev] | [next] | [standalone]


#403185

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-16 21:16 -0700
Message-ID<uqbkebhgt2dhk7cpcal3ekgtgs2vlv2kbs@4ax.com>
In reply to#403178
On Wed, 16 Mar 2016 20:21:08 -0700 (PDT), George Herold
<gherold@teachspin.com> wrote:

>I know I've said this before,
>a 20V zener from 30V rail, with ~a few hundred k to meg of resistance,
>makes big noise spikes consistently (in the dark).  Band width 
>drops off above ~1 MHz  
>
>George H. 

At higher currents, zener noise quits being spikey and starts to be
Gaussian. Some zeners are flat up into 10s of Ghz.




-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#403157

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-16 17:34 -0700
Message-ID<dfujeblrbugbabevrf4aieo4s7k3921u54@4ax.com>
In reply to#403152
On Wed, 16 Mar 2016 17:17:46 -0700, dplatt@coop.radagast.org (Dave
Platt) wrote:

>In article <epsjeb928pv3n7d6m4j583t8fnmbbrjsad@4ax.com>,
>John Larkin  <jjlarkin@highlandtechnology.com> wrote:
>
>>I wonder if there is a public random data generator somewhere on the
>>internet. You could use ping times or something as a source of
>>randomness.
>
>I think you'd find that the entropy available from ping times is
>rather poor.  There are more sources of correlation than you might expect.
>
>>Any online webcam should provide a lot of noise.
>
>One classic approach was to aim a webcam at a Lava Lamp, or one of the
>similar amusements that were filled with a glitter-loaded liquid.
>Taking two frames several seconds apart, and calculating the
>difference, produced some reasonably decent entropy.

A busy city street scene should be pretty noisy. Any camera will have
lots of per-pixel noise, and lots of pixels. 

>
>Getting really *good* random entropy is surprisingly difficult,
>especially if you're concerned about having it *stay* random in the
>face of attacks, outside interference, "pulling", etc. which can make
>it more predictable.

If you have a long-length (say, something like 256 bits) pseudo-random
number generator, you can mush in some external randomness source
(like a webcam, a sound card, a ring oscillator, whatever) and make it
randomly jump all around its state sequence. Do that 64 times with
different register lengths and noise sources and xor.



-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#403265

From"David Eather" <eather@tpg.com.au>
Date2016-03-18 07:31 +1000
Message-ID<op.yehne7j3wei6gd@phenom-pc>
In reply to#403157
On Thu, 17 Mar 2016 10:34:03 +1000, John Larkin  
<jjlarkin@highlandtechnology.com> wrote:

> On Wed, 16 Mar 2016 17:17:46 -0700, dplatt@coop.radagast.org (Dave
> Platt) wrote:
>
>> In article <epsjeb928pv3n7d6m4j583t8fnmbbrjsad@4ax.com>,
>> John Larkin  <jjlarkin@highlandtechnology.com> wrote:
>>
>>> I wonder if there is a public random data generator somewhere on the
>>> internet. You could use ping times or something as a source of
>>> randomness.
>>
>> I think you'd find that the entropy available from ping times is
>> rather poor.  There are more sources of correlation than you might  
>> expect.
>>
>>> Any online webcam should provide a lot of noise.
>>
>> One classic approach was to aim a webcam at a Lava Lamp, or one of the
>> similar amusements that were filled with a glitter-loaded liquid.
>> Taking two frames several seconds apart, and calculating the
>> difference, produced some reasonably decent entropy.
>
> A busy city street scene should be pretty noisy. Any camera will have
> lots of per-pixel noise, and lots of pixels.
>
>>
>> Getting really *good* random entropy is surprisingly difficult,
>> especially if you're concerned about having it *stay* random in the
>> face of attacks, outside interference, "pulling", etc. which can make
>> it more predictable.
>
> If you have a long-length (say, something like 256 bits) pseudo-random
> number generator, you can mush in some external randomness source
> (like a webcam, a sound card, a ring oscillator, whatever) and make it
> randomly jump all around its state sequence. Do that 64 times with
> different register lengths and noise sources and xor.
>
>
>

Digitizing screen shots of an aquarium would provide the same thing - just  
don't try to save on hardware by digitizing a screen saver.

[toc] | [prev] | [next] | [standalone]


#403181

Fromrickman <gnuarm@gmail.com>
Date2016-03-17 00:01 -0400
Message-ID<ncda0h$q5j$1@dont-email.me>
In reply to#403150
On 3/16/2016 8:01 PM, John Larkin wrote:
>
> I wonder if there is a public random data generator somewhere on the
> internet. You could use ping times or something as a source of
> randomness.
>
> Any online webcam should provide a lot of noise.

I'll give you a random number... 7.  Guaranteed to be random.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#403200

FromClifford Heath <no.spam@please.net>
Date2016-03-17 14:09 +1100
Message-ID<56ea590e$0$41571$b1db1813$145976f0@news.astraweb.com>
In reply to#403181
On 17/03/16 15:01, rickman wrote:
> On 3/16/2016 8:01 PM, John Larkin wrote:
>>
>> I wonder if there is a public random data generator somewhere on the
>> internet. You could use ping times or something as a source of
>> randomness.
>>
>> Any online webcam should provide a lot of noise.
>
> I'll give you a random number... 7.  Guaranteed to be random.

Don't laugh - a distant colleague wrote a hash function that 
inadvertently did that, and it got shipped in a product (long time ago). 
It wasn't found until we were looking for an N**2 performance problem in 
a hash table which it keyed - although the base vector was being 
expanded, all elements were in the overflow chain of the first entry.

[toc] | [prev] | [next] | [standalone]


#403228

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-03-17 09:01 -0700
Message-ID<62lleb1mipne09ac1ra644jq7spbglapsm@4ax.com>
In reply to#403200
On Thu, 17 Mar 2016 14:09:18 +1100, Clifford Heath
<no.spam@please.net> wrote:

>On 17/03/16 15:01, rickman wrote:
>> On 3/16/2016 8:01 PM, John Larkin wrote:
>>>
>>> I wonder if there is a public random data generator somewhere on the
>>> internet. You could use ping times or something as a source of
>>> randomness.
>>>
>>> Any online webcam should provide a lot of noise.
>>
>> I'll give you a random number... 7.  Guaranteed to be random.
>
>Don't laugh - a distant colleague wrote a hash function that 
>inadvertently did that, and it got shipped in a product (long time ago). 
>It wasn't found until we were looking for an N**2 performance problem in 
>a hash table which it keyed - although the base vector was being 
>expanded, all elements were in the overflow chain of the first entry.

Everything hashed to the same number? A hashed symbol table would
still work... it would just get slow.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#403236

FromPiotr Wyderski <peter.pan@neverland.mil>
Date2016-03-17 17:46 +0100
Message-ID<ncen1r$oh1$1@node1.news.atman.pl>
In reply to#403200
Clifford Heath wrote:

> Don't laugh - a distant colleague wrote a hash function that
> inadvertently did that, and it got shipped in a product (long time ago).
> It wasn't found until we were looking for an N**2 performance problem in
> a hash table which it keyed - although the base vector was being
> expanded, all elements were in the overflow chain of the first entry.

If the application is required to produce composite hashes (i.e. merge
two or more hashes and produce a new one), the bugs are even more
subtle. I've seen using a simple xor on the input hashes, which is
theoretically correct (if a and b are random, then a xor b is too),
but fails badly if the element come in non-unique pairs, which is
frequent. Then the result of a xor a is not as random as one would 
expect... Also found using a profiler. :-)

	Best regards, Piotr





[toc] | [prev] | [next] | [standalone]


#403266

From"David Eather" <eather@tpg.com.au>
Date2016-03-18 07:33 +1000
Message-ID<op.yehnirbvwei6gd@phenom-pc>
In reply to#403236
On Fri, 18 Mar 2016 02:46:50 +1000, Piotr Wyderski  
<peter.pan@neverland.mil> wrote:

> Clifford Heath wrote:
>
>> Don't laugh - a distant colleague wrote a hash function that
>> inadvertently did that, and it got shipped in a product (long time ago).
>> It wasn't found until we were looking for an N**2 performance problem in
>> a hash table which it keyed - although the base vector was being
>> expanded, all elements were in the overflow chain of the first entry.
>
> If the application is required to produce composite hashes (i.e. merge
> two or more hashes and produce a new one), the bugs are even more
> subtle. I've seen using a simple xor on the input hashes, which is
> theoretically correct (if a and b are random, then a xor b is too),
> but fails badly if the element come in non-unique pairs, which is
> frequent. Then the result of a xor a is not as random as one would  
> expect... Also found using a profiler. :-)
>
> 	Best regards, Piotr
>
>
>
>
>
>

That method was suggested by Shannon. He also predicted the bug you found.  
If the data is correlated than Shannon's method makes it worse.

[toc] | [prev] | [next] | [standalone]


#403268

From"David Eather" <eather@tpg.com.au>
Date2016-03-18 07:35 +1000
Message-ID<op.yehnkybuwei6gd@phenom-pc>
In reply to#403181
On Thu, 17 Mar 2016 14:01:07 +1000, rickman <gnuarm@gmail.com> wrote:

> On 3/16/2016 8:01 PM, John Larkin wrote:
>>
>> I wonder if there is a public random data generator somewhere on the
>> internet. You could use ping times or something as a source of
>> randomness.
>>
>> Any online webcam should provide a lot of noise.
>
> I'll give you a random number... 7.  Guaranteed to be random.
>

It was random, until the moment you wrote it down. Now it is always a 7 as  
anyone who reads your post can affirm.

[toc] | [prev] | [next] | [standalone]


#403327

FromPiotr Wyderski <peter.pan@neverland.mil>
Date2016-03-18 11:44 +0100
Message-ID<ncgm5i$rer$1@node2.news.atman.pl>
In reply to#403268
David Eather wrote:

> It was random, until the moment you wrote it down. Now it is always a 7
> as anyone who reads your post can affirm.

No, for me it is still random. ;-)

	Best regards, Piotr

[toc] | [prev] | [next] | [standalone]


#403069 — low-voltage low-current noise sources

FromWinfield Hill <hill@rowland.harvard.edu>
Date2016-03-16 08:10 -0700
Subjectlow-voltage low-current noise sources
Message-ID<ncbt0v0g3u@drn.newsguy.com>
In reply to#403065
Winfield Hill wrote...
>
>George Herold wrote...
>>
>>On Wednesday, March 16, 2016 at 1:53:11 AM UTC-4, David Eather wrote:
>>> If any kind soul can help...
>>> 
>>> There was a short post/note on SED or SEB about a transistor with a 2.5V  
>>> max Vebo and another one with 3.0 max Vebo. I have spent hours looking for  
>>> the transistors and have run out of options. Does anyone remember which  
>>> transistor numbers these were?
>>> 
>>> I'm adding transistor junction breakdown noise to a Arduino and they would  
>>> fit the bill perfectly - and cut out problem of providing extra voltage  
>>> sources other than %v power from USB.
>>> 
>>> As always TIA.
>> 
>> I don't know the transistors, but have you tried a low voltage zener.  
>> (The problem with both is that you may not get much more than just the 
>> shot noise.)  
>
> Agreed, the zener noise mechanism comes from avalanche, which
> doesn't kick in until you get to voltages above about 8 volts.
> Low-current "microplasmas" form and quickly terminate after
> discharging the zener's self capacitance, creating a kind of
> popcorn noise.   There are extensive threads on the subject
> 15-20 years ago on s.e.d., where I spent a month (haha, more)
> making and posting all kinds of nanosecond-scale measurements.
>
> The zener physics effect (field emission) predominates at
> low-voltages, see the ON Semi handbook, HBD854, page 20. 
> https://www.onsemi.com/pub/Collateral/HBD854-D.PDF

 One suggestion: 1.2-volt Vbe voltage references are
 more noisy than resistors and transistors, etc., due
 to the 10x voltage step-up intrinsic to their design. 
 If the reference's circuitry runs at low currents,
 it's even more noisy.  The LMV431 with a 50uA core
 has 230nV/rt-Hz noise.  The LM385-1.2, with its core
 under 10uA shows 400nV/rt-Hz.  The REF1112 that runs
 at 1uA should be even more noisy.  The lower-current
 types will suffer from limited frequency response.

 Although the noise level is not specified, the basic
 physics behind BJT transistor noise at low currents
 (see AoE III, page 481 and especially Figures 8.12,
 and 8.57) means you may get much better part-to-part
 consistency than you could get with a zener diode. 

 David, if you try this, let us know what you learn.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


Page 2 of 3 — ← Prev page 1 [2] 3  Next page →

Back to top | Article view | sci.electronics.design


csiph-web