Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using the Sha160 class??

 
tim jones
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hii
I want to get the message digest for a given file using Secure Hash Algorithm.
I found out this class (java.security.hash.Sha160) on googling and i went through the methods that it provides but i couldn't understand them..
Can you please tell me any way of doing this..i.e. given a file,i get the equivalent MD for that..i need this to ensure data integrity once a file is downloaded.
 
tim jones
Greenhorn
Posts: 26
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic