Using avhash instead of md5