¡@

Home 

python Programming Glossary: rot

Python implementation of Jenkins Hash?

http://stackoverflow.com/questions/3279615/python-implementation-of-jenkins-hash

wish private educational or commercial. Its free. ''' def rot x k return x k x 32 k def mix a b c a 0xffffffff b 0xffffffff.. 0xffffffff b 0xffffffff c 0xffffffff a c a 0xffffffff a ^ rot c 4 a 0xffffffff c b c 0xffffffff b a b 0xffffffff b ^ rot a.. rot c 4 a 0xffffffff c b c 0xffffffff b a b 0xffffffff b ^ rot a 6 b 0xffffffff a c a 0xffffffff c b c 0xffffffff c ^ rot b..