16bit hash

Jon Ribbens jon+usenet at unequivocal.co.uk
Wed Jun 27 18:19:05 EDT 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