Verifying that piece data matches SHA1 hash