Hash Functions In Python