This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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.