corrected md5.lua math.mod --> %, corrected ca.lua table.getn(array) --> #array