Great. Thanks Albert!
>>Albert,
>>
>>Yes I use the single function call. It wasn't obvious ( for me ;-) ) but testing revealed that the result was correct with the single function call. I have a question related to this subject. I am using your MD5() function to generate fingerprints for files that we import into SQL Server. This allows us to very quickly detect if a given file has already been imported. So far I've been using the code from the wiki. I'm wondering if I could use the single function call MD5()? What's the difference between these two methods?
>>
>
>
>Yes, just use
>
>lcCode = MD5( tcCompressed )
>
>The other functions give you the ability to add and remove data in small pieces. This makes it easy to to do things like my example with the progress update. This also helps when you are receiving the data asynchronously, but want to process data as you get it.
Daniel