• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

using the Sha160 class??

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
anyways i found this example :
http://java.sun.com/javase/6/docs//technotes/guides/security/crypto/CryptoSpec.html#MDEx
 
reply
    Bookmark Topic Watch Topic
  • New Topic