Verifies a Content-Digest field against a body: every member whose algorithm is accepted must match, and at least one must be present.
the Content-Digest field value
the body's bytes
accepted, the algorithms accepted (sha-256 and sha-512 by default)
accepted
{ ok: true, algorithms } naming those matched, or a refusal
{ ok: true, algorithms }
Verifies a Content-Digest field against a body: every member whose algorithm is accepted must match, and at least one must be present.