wood burning stoves 2.0*
The moose likes Java in General and the fly likes Hash functions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Hash functions" Watch "Hash functions" New topic
Author

Hash functions

Duncan Samarasinghe
Greenhorn

Joined: Nov 08, 2010
Posts: 1
Hi.

Do you know anything about hash functions?

Let me know about libraries etc?

Thanks .
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
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

Joined: Oct 13, 2005
Posts: 37943
    
  22
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

Joined: Oct 25, 2008
Posts: 2700

And if you want to hash something using MD5 or SHA you should look at MessageDigest.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hash functions
 
Similar Threads
scjp1.4 whats in whats out
Help me to solve my problem
Doubts on Security
hash codes
pseudo-random generation