This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

using the Sha160 class??  RSS feed

 
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
Boost this thread!