Require correct hash lengths