generate an ed2k hash for a file