Will that be unique(near unique)? Want to make sure hashing someother string will not produce the same hash value.
----- Original Message ----- From: Ramchandra Apte Sent: 08/31/12 01:29 PM To: Bangalore Python Users Group - India Subject: Re: [BangPypers] Hash function that returns unsigned integer Just modulo the hash function `hash_value % (2**32)` On 31 August 2012 12:46, Yoganand Anandaraju <yogan...@gmx.com> wrote: > Is anyone aware of any non-cryptographic hash function whose value is only > postive integer. Pythons inbuilt hash function is a signed integer. > > > Regards, > Yoganand > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers Regards, Yoganand _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers