Yes, obviously a query-replace error. IMO it's totally broken that MD5Final takes it's arguments in opposite order from the other functions. Not much to do about it I guess. /Johan