Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Anyone here knows about MD5?  RSS feed

 
sathish
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MD5 usage?
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MD5 is an encryption algorithm. It can be used in alot of ways, in verifying the password on an LDAP server, signing and verifying jar files, cryptograhy etc.
Do you have a particular type of application in mind?
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're interested in Java security stuff, there's a
great new book out: "Java Security Handbook" by Jamie Jaworski.
There are examples of MD5, SHA and many encryption routines
which are all current.
 
John Bateman
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sathish:
MD5 usage?

Hi
We use MD5 to ensure that files have not been altered. We run an MD5 routine on our filesystem and store the hash valies into a database. Then when/if we need to verify that the files have not been altered, we re-run the md5 algo on the file and compare it to what is in the database. If they match, they haven't been altered.
Just do md5sum -b file.txt >> file.hsh
Very neat utility when you want to ensure that when a client says "We didnt' change anything" you can verify that yourself.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!