I have a GUI based on Microsoft's .NET framework in VC++ 2003.  After some hassle over configuration settings, the cryptolib seems to finally be compiling correctly.  My goal is to be able to generate hashes of files, and display the results on the GUI. I easily gathered from the test.cpp file how it is able to use a filesink to channel to the results of a parsed file to cout (tho the DigestFile function crashes when you reduce it to a single has out of the four).  For the purposes of my project, I need some simple way to retreive the hash internally.  ie if I have the file name, I want to be able to plug it into the cryptlib, and have the hash (or equivalent byte values) return to my interface functions, not outputted directly.  Can somebody out there help me with a code snippet or example source of how this could be accomplished?  Thanks.
 
-
Matt

Reply via email to