This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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 .
Similar Threads
HashCode to String
Problem on String
java program to retrieve the encrypted data from database
what is hashing and re-hashing?