Skip to content

ACGDB/pyjhashcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python implemented Java hashCode methods.

>>> import jhashcode
>>> print jhashcode.hashcode('hello world')
1794106052
>>> print jhashcode.hashcode(u'僕と契約して、魔法少女になってほしい!')
640953514
>>> print jhashcode.hashcode(0)
0

The results should be the same with Java.

Now int, str or unicode hash function is ready.

About

Python implemented Java hashCode methods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors