What is the "most standard" c++ md5 header?
I want to determine if files have been modified by the user so that my program will leave them unmodified when doing updates. Like YaST does. I plan on using MD5 to generate a hash to check when visiting files. I have sourcecode that claims to be genuine RSA MD5, so getting something that works isn't a problem. I would, however, prefer to build against a "standard" library rather than something I add to my own source tree just to get things working. Is there a good candidate for providing MD5 hashing that will be available on most systems? Steven
On 2/20/06, Steven T. Hatton <hattons@globalsymmetry.com> wrote:
I want to determine if files have been modified by the user so that my program will leave them unmodified when doing updates. Like YaST does.
I plan on using MD5 to generate a hash to check when visiting files. I have sourcecode that claims to be genuine RSA MD5, so getting something that works isn't a problem. I would, however, prefer to build against a "standard" library rather than something I add to my own source tree just to get things working. Is there a good candidate for providing MD5 hashing that will be available on most systems?
I'd recommend using the mhash library that ships with SuSE Linux (http://mhash.sourceforge.net/) \Steve -- Steve Graegert <graegerts@gmail.com> Software Consultant {C/C++ && Java && .NET} Office: +49 9131 7123988 Mobile: +49 1520 9289212
participants (2)
-
Steve Graegert
-
Steven T. Hatton