• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hashing

 
Ian E Jones
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 4846
34
Chrome Netbeans IDE Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at java.util.Arrays.deepHashCode() / java.util.Arrays.hashCode().
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic