MD5 digests of very big files

Alejandro Tejada capellan2000 at gmail.com
Sun Jun 27 16:30:01 EDT 2010


Hi Jacke,

Jacqueline Landman Gay wrote:

> Try: if it is empty 

Many Thanks!
This works. :-D

Now the function will be:

function quasiMD5 pFile
  local tMD5s
  open file pFile for binary read
  repeat
    read from file pFile for 4096 chars
    if it is empty then
      exit repeat
    end if
    put the md5digest of it after tMD5s
  end repeat
  close file pFile
  return the md5Digest of tMD5s
end quasiMD5

-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/MD5-digests-of-very-big-files-tp2270182p2270259.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list