This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen 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.