Antoine Pitrou <pit...@free.fr> added the comment:

> Using a fairly small value (4k) should not make the results much worse 
> from a security perspective, but might be problematic from a
> collision/distribution standpoint.

Keep in mind the average L1 data cache size is between 16KB and 64KB. 4KB is 
already a significant chunk of that.

Given a hash function's typical loop is to feed back the current result into 
the next computation, I don't see why a small value (e.g. 256 bytes) would be 
detrimental.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13703>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to