LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 10-13-2012, 03:54 AM   #1
Charles Butler
LQ Newbie
 
Registered: Jul 2012
Posts: 19

Rep: Reputation: Disabled
Fastest commercially available hardware RNG generator


Which would that be currently?
 
Old 10-13-2012, 04:42 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
I'd think IBM would be able to sell you that. The best are in very secret labs.
 
Old 10-14-2012, 07:53 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Member Response

Hi,

Quote:
Originally Posted by Charles Butler View Post
Which would that be currently?
How many bits? Mbits/sec and stream will be the deciding factor for cost.

Look at: The Intel Random Number Generator for some insightful information.

Random Number Generator is a useful resource.

I agree that IBM would be a good choice but Intel provides some good choices. You can get knock offs but then you get what you pay for. It would help to know how you plan to use RNG. Resolution? A simple signal source & A/D will provide a RNG. Remember it relates to the natural signal source as to randomness.
 
Old 10-14-2012, 08:05 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Most likely one of the laser quantum RNGs, just look them up. They are extremely expensive.

Personally, I have developed my own using a radio, and it gets 24000 bytes per second.

The laser ones get 500000 bytes/sec to 2000000 bytes/sec. (4 Mbits/sec and 16 Mbits/sec).
 
Old 10-14-2012, 12:35 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Member Response

Hi,

What portion or circuit of the radio are you using to sample in order to produce random number? Sometimes you can use a RC circuit as a filter to pick from the radio circuit and sample throughout the charge cycle thus random. Even better would be zener diode to pick from the RC coupled signal from the sub circuit of your radio generator.

Laser diode circuit would be another choice to produce noise measured with A/D. Really depends on the bit stream necessary and resolution of the sampling circuit.
 
Old 10-15-2012, 12:16 PM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Well, I'm doing something much simpler, but that still works well. I'm just recording from the radio on an empty channel and compressing it using a hash. Very simple to implement, and it is random according to my tests. It's a good idea to change channels once in a while, and the hash must compress at the right rate or you will get non-random data. The rate was determined experimentally using conventional compression like LZMA2, and random analysis programs like 'ent', dieharder, and I made my own. The sample rate is 48000, and I tested other rates, but they don't work as well because you will either need higher compression or you'll be wasting random data using too high a compression. Basically compressing 48000 at 1/2 will get you 24000 bytes per second of random data. I also wrote a program to feed it to /dev/random, but you can also use rng-tools (which I based it off of, but excluded the ridiculous test).

I would avoid transistors, thermal noise, and diodes, mostly because they may seem random, but may actually be chaotic with long period of repeat ... which I guess is good enough for most applications, but may present a risk. A radio presents a disadvantage as well, if they can guess the channel you are using, or interfere with it. Both are not that plausible because they don't know where you are, and they would need a radio near you to have good accuracy in the prediction. Change the channel often and you're safe from these too.

Last edited by H_TeXMeX_H; 10-15-2012 at 12:18 PM.
 
Old 10-17-2012, 01:25 PM   #7
Charles Butler
LQ Newbie
 
Registered: Jul 2012
Posts: 19

Original Poster
Rep: Reputation: Disabled
Making a note of the fastest commercial product I found, if anyone is interested.

Quantis-USB-4M module

Last edited by Charles Butler; 10-17-2012 at 01:26 PM.
 
Old 10-17-2012, 01:37 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Member Response

Hi,
Quote:
Originally Posted by Charles Butler View Post
Making a note of the fastest commercial product I found, if anyone is interested.

Quantis-USB-4M module
Yes, I had looked at Quantis. For $1714 for the PCIe 4M unit, it had better be outstanding!

For $1,311 the USB unit is not cheap for 4M.

16M PCI-4 card is just $2,927,
 
Old 10-18-2012, 05:24 AM   #9
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
The fastest one I have bookmarked is 150 Mbits/sec:
http://www.picoquant.com/products/pqrng150/pqrng150.htm
You can also download samples here:
https://qrng.physik.hu-berlin.de/download

I used these for my testing.
 
Old 10-24-2012, 12:12 PM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Also, you can greatly boost the output of a slower TRNG by using it as a seed for a PRNG.

The fastest PRNG I've seen is:
http://www.math.sci.hiroshima-u.ac.j...FMT/index.html

I am using it in combination with my radio RNG to boost output to speeds equivalent to the really expensive hardware RNGs listed here. I get around 580 MB/s.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Helping The Random Number Generator To Gain Enough Entropy With rng-tools (Debian Lenny) LXer Syndicated Linux News 0 12-13-2010 08:40 AM
RNG not detected Vitalie Ciubotaru Linux From Scratch 4 08-08-2007 07:36 AM
LXer: The Planet Selects Penguin Computing Hardware for Dedicated Web Hosting Environment for Fastest, Most Powerful Server Offering Ever LXer Syndicated Linux News 0 04-09-2006 04:54 AM
Universal RNG LinuxTiro Programming 0 09-12-2003 11:47 PM


All times are GMT -5. The time now is 11:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration