This worked OK for me on CF9 and BD7, and it matched the calculation
of OpenSSL.exe and MD5.exe for a .zip file:
<cffile action="READBINARY" file="#theFile#" variable="xFile">
<cfset md = CreateObject("java", "java.security.MessageDigest") >
<cfset binhash = md.getInstance("MD5").digest(xFile)>
<cfset hexhash = BinaryEncode(binhash, "hex")>
<cfdump var=#hexhash#>
-tom-
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official site @ http://www.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---