BUG? sha-moduel returns same crc for different files
jepler epler
jepler.lnk at lnk.ispi.net
Mon Sep 18 20:36:17 EDT 2000
On Mon, 18 Sep 2000 15:16:11 +0200, Treutwein Guido
<Guido.Treutwein at nbg.siemens.de> wrote:
>Ok, lets assume it is NOT an eof effect and the whole file is fed
>correctly into the sha-1.
>a) A hash code is is a mapping into a fixed length string of 160 bits (sha-1)
>respectively 128 bits (md-5).
>b) Nothing prevents files with different lengths from having the same
>hash code.
Well, if anybody has so much as a single collision in sha-1, I'm sure
the crypto community will be excited to know about it. It should take,
as another poster noticed, about 2^80 work to produce one, unless someone
has broken sha-1.
Jeff
More information about the Python-list
mailing list