Re: Data Entropy Tool
this really isnt a sufficient way of measuring entropy, since any
pseudorandom number generator would also pass this test with ease..
if you try to compress an already compressed file for example you will see
almost no compression.. thats not because the contents are truely random..
its just because a pattern was mildly difficult to find..
honestly, if you care about your entropy pool for cryptographic/security
reasons, leave it to the professionals..
as i recommended off list, there is an old package called "diehard" that is
purpose built for testing entropy generation..
it requires large volumes of entropy.. and even then, its hard to tell the
difference between some PRNGs and true entropy..
----- Original Message -----
From: "Tom Vier" <tmv@xxxxxxxxxxx>
Sent: Friday, March 24, 2006 4:25 PM
Subject: Re: Data Entropy Tool
On Thu, Mar 23, 2006 at 04:20:24AM -0000, davidribyrne@xxxxxxxxx wrote:
Can anyone recommend a tool or library for measuring data entropy? Pass
it a string, it returns a score.
fwiw: If you just need a rough comparison, compress the output. The lower
the compression ratio, the higher the entropy.
Tom Vier <tmv@xxxxxxxxxxx>
DSA Key ID 0x15741ECE
- Re: Paying for assistance
... forget about the input being 8 bit sequences. ... This is just uninteresting, and forget about the dictionary, this is only a technicality and we can assume without loss of generality that the input is sorted by probability. ... The expected lengths of files 1,2,3 are then given by multiplying the expected bit count by the entropy of the given file, i.e. ... them 'bait' for a compression algorithm. ...
- Re: Extracting random data from static, for /dev/random
... No, compression will NOT. ... a theoretically optimal compression algorithm would work, ... and then use a "random" hash function to extract the remaining entropy. ... they could crush what ever kind of crypto I'm trying to do ...
- Re: Estimating entropy of a stream
... random number generator. ... I'm familiar with the general entropy ... compressible a stream is the less entropy it will have. ... Compression is an extremely bad way of estimating entropy. ...
- Re: sound compression / backward-adaptive linear prediction
... People on comp.compression were quite surprised that someone even cosiders KLT for lossless audio compression, so it is likely to be under-researched direction. ... I've just used ordinary least squares to estimate linear prediction coefficients and it works, sort of, but that is not what I need because coefficients tend to change. ... And if I just estimate entropy it depends on entropy estimator being used, ... RT> This might not include any overhead bits you would need if you ...
- Re: Pacbyte data compression patent
... violates the counting argument. ... that bit has a 1/4 bit entropy again would lead to a compression loop. ... ratio by selective velocity through randomization field, ...