Re: Pseudo-random code in asm?

New Message Reply About this list Date view Thread view Subject view Author view

David Honig (honig@sprynet.com)
Fri, 21 Aug 1998 08:33:46 -0700


At 10:12 AM 8/21/98 DST, Johnny Eriksson wrote:
>> another dumb question from a beginner.. . I wrote something to create 2M of
>> pseudo-random characters, and when
>> I compressed it using -ex (extra compression) with pkzip, it got larger by
>> 114 bytes, does this neccesarily mean that it's
>> safe to use for a one-time pad and secure from cryptanalysis?
>
>No. It means that your pseudo-random data has passed a very rudimentary
>first test. There may still be a lot of structure in that data, structure
>that pkzip did not find.
>
>On the other hand, if pkzip had made the file smaller, it would have been
>a sure sign the data was not "random".

Yep. Get a copy of Diehard and run it on your data (you'll need 10 Mbytes).
Diehard finds more structure than a compressor will.

  


New Message Reply About this list Date view Thread view Subject view Author view

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

The following archive was created by hippie-mail 7.98617-22 on Sat Apr 10 1999 - 01:11:00