File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Hashing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Hashing " Watch "Hashing " New topic
Author

Hashing

Ian E Jones
Greenhorn

Joined: Nov 08, 2010
Posts: 4
Hey there,

I'm writing a script that takes in two arrays. One array has a list of languages and the other has a greeting in that language.
I want to hash these two arrays together, using a randomly generated prime number used in the hashing. The problem is I really have no idea how to start this out right, can someone walk me through a sample of how hash functions are done?

Thanks.
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3371
    
    9
Take a look at java.util.Arrays.deepHashCode() / java.util.Arrays.hashCode().
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hashing
 
Similar Threads
Hash Code
Vector or ArrayList ?
encrypt password on login form?
What is one way hashing .
hashcode() and equals()