• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hash functions

 
Duncan Samarasinghe
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

Do you know anything about hash functions?

Let me know about libraries etc?

Thanks .
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Libraries?

Hashcode functions are built into Java standard classes. Check out the JavaDocs for java.lang.Object - the hashcode() method for example discussion.

Bill
 
Campbell Ritchie
Sheriff
Pie
Posts: 49865
71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Find copies of Effective Java by Bloch, or Thinking in Java by Eckel, which used to be available free on the web (3/e), or Google for Niklaus Wirth's Algorithms book. You should find details of hashing algorithms in those.
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And if you want to hash something using MD5 or SHA you should look at MessageDigest.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic