>
>
> Right.  An ISO file is a bad choice - too many zeros & machine code
> isn't very random.  But what about something like an MP3, OGV or some
> other compressed file?
>
>
No!

The requirements for the Vernam cipher are very simple:

- the pad must be random
- the pad must not be reused
- the pad must be secret (it's the key!)

These formats (e.g. mp3) have headers, etc.

http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm

Anyway, the data is not random, so it should not be used as a one-time-pad.

Regards.
q
_______________________________________________
cryptography mailing list
[email protected]
http://lists.randombit.net/mailman/listinfo/cryptography

Reply via email to