16bit hash

Jon Ribbens jon+usenet at unequivocal.co.uk
Thu Jun 28 00:19:05 CEST 2007


On 2007-06-27, Robin Becker <robin at reportlab.com> wrote:
> Is the any way to get an efficient 16bit hash in python?

int(md5.new(s).hexdigest()[:4], 16) ?



More information about the Python-list mailing list