Re: Pseudo-random code in asm?

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

Johnny Eriksson (bygg@sunet.se)
Fri, 21 Aug 1998 10:12:52 MET DST


> 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".

--Johnny


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:10:59