This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.