Author Topic: [Solved] Message Digest for Hard disk volume  (Read 575 times)

0 Members and 1 Guest are viewing this topic.

Offline Psycho_Coder

  • Knight
  • **
  • Posts: 166
  • Cookies: 84
  • Programmer, Forensic Analyst
    • View Profile
    • Code Hackers Blog
[Solved] Message Digest for Hard disk volume
« on: January 27, 2016, 10:27:52 pm »
I would like to know how to program an application to calculate message digest of a hard disk volume. I have googled pretty much but could not understand how to get through. When hashing files or string in Java its easy to do so, but what if I have to create the message digest for a volume or external mounted volume? Some of the linux command line utilities like dc3dd/dcfldd are capable of on the fly hash generation, (Several other tools are available as well). I would like to use Java for this purpose.

I have been developing a little fun project named PsychoHasher and I would to include the questioned feature into it as well. The project is in development and I have uploaded it on github, See is here: https://github.com/AnimeshShaw/PsychoHasher. I will create a proper thread for it when I will release the first version.

I am having trouble understanding how to read the volumes. It would be great if someone can explain some concept to achieve this functionality.
« Last Edit: January 30, 2016, 07:43:07 pm by Psycho_Coder »
"Don't do anything by half. If you love someone, love them with all your soul. When you hate someone, hate them until it hurts."--- Henry Rollins

Offline Psycho_Coder

  • Knight
  • **
  • Posts: 166
  • Cookies: 84
  • Programmer, Forensic Analyst
    • View Profile
    • Code Hackers Blog
Re: [Question] Message Digest for Hard disk volume
« Reply #1 on: January 30, 2016, 06:04:15 pm »
I guess I found a way to do what I required to. Admins/S. Mods please feel free too close this thread. Thanks for your time :)

Edit: Posted the How to tutorial :- https://evilzone.org/java/%28tutorial%29-calculating-checksums-for-logical-volumes-in-java/msg121293/
« Last Edit: January 30, 2016, 08:43:07 pm by Psycho_Coder »
"Don't do anything by half. If you love someone, love them with all your soul. When you hate someone, hate them until it hurts."--- Henry Rollins