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) ?