It's not a secret anymore!
The moose likes Java in General and the fly likes What is one way hashing . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "What is one way hashing ." Watch "What is one way hashing ." New topic

What is one way hashing .

Umesh Kilkile

Joined: Mar 31, 2010
Posts: 11

What is one way hashing. How to implement it in Java. I've to compare the contents of two files by generating their hash value in Java.
Please give some examples.

Thank You,
Garrett Rowe
Ranch Hand

Joined: Jan 17, 2006
Posts: 1296
Take a look at this article and see if after reading that you have any specific questions. You can use the class to digest/hash the contents of a file in Java. Take a look at the documentation there and see if that brings up any specific questions.

Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
I agree. Here's the link:
subject: What is one way hashing .
It's not a secret anymore!