LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-22-2010, 02:35 AM   #1
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Rep: Reputation: 57
Software to measure the entropy of random data


Once random data is obtained by means other than a pseudo-random number generator, what software is available to measure the entropy or quality/randomness of the data?
 
Old 09-22-2010, 03:33 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
One simple approach might be to compute the standard deviation of some arbitrary sequence of your data:
Quote:
http://saliu.com/deviation.html

Standard deviation is a most fundamental element of randomness.
 
Old 09-22-2010, 04:13 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by Ulysses_ View Post
Once random data is obtained by means other than a pseudo-random number generator, what software is available to measure the entropy or quality/randomness of the data?
Ueli Maurer came up with a popular test a while back. I'm pretty sure that if you google it you'll run into several software implementations of it. That said, you should keep in mind that there are certain inherent risks in relying on statistical analysis for this application. Nick Szabo elaborates on the issue in this paper, for example.

Last edited by win32sux; 09-22-2010 at 04:20 AM.
 
Old 09-27-2010, 08:47 PM   #4
oherrera
LQ Newbie
 
Registered: May 2005
Distribution: Gentoo AMD64 2005
Posts: 5

Rep: Reputation: 0
You may want to take a look at a couple of programs that I developed a couple of years ago: (http://sourceforge.net/projects/ciat/). The programs are licensed under GPL3.

They were created to aid in finding sequences of encrypted (i.e. random looking) bit streams within non random structures (like programs), but you can apply it directly to pseudo-random sequences.

It implements some statistical tests defined in NIST's SP800-22 plus one statistical test developed by myself that uses fractional fourier transforms.

I hope it helps.

Omar
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
measure the amount of usb data mdb1526 Linux - Newbie 1 01-21-2010 10:50 AM
How to measure data Transfer beween two servers. rajaniyer123 Solaris / OpenSolaris 5 06-05-2007 03:41 PM
Tool to measure Data Transfer omlex Linux - Enterprise 2 11-05-2006 04:24 PM
Running out of entropy & /dev/random reads are blocking slacky Linux - General 1 06-15-2005 09:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration