[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <28738.1396714692@critter.freebsd.dk>
Date: Sat, 05 Apr 2014 16:18:12 +0000
From: "Poul-Henning Kamp" <phk@....freebsd.dk>
To: discussions@...sword-hashing.net, Peter Maxwell <peter@...icient.co.uk>
Subject: Re: [PHC] Mechanical tests (was: POMELO fails the dieharder tests)
In message <CA+aY-u6ghpim=0k5iZ6PwDaXe2ZBMe82HNaag7wWeLf+wMxdXQ@...l.gmail.com>
, Peter Maxwell writes:
>> So one of my ideas for "mechanical tests" was to use compressors
>> as measurement entropy, and run sanity-checking test along the
>> general scheme of:
>>
>> Generate_test_data > file1
>> candidate_algorithm < file1 > file2
>> gzip -9v file1 file2
>>
>> Any algorithm where file2.gz can be smaller than file1.gz is toast.
>
>That won't tell you whether you lose entropy but rather whether a series of
>results tested is amenable to a specific compression algorithm.
"One of my ideas" :-)
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@...eBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Powered by blists - more mailing lists