domainDigestVersionFor
HardKAS SDK / artifacts/src / domainDigestVersionFor
Function: domainDigestVersionFor()
domainDigestVersionFor(
hashVersion):DomainDigestVersion
Defined in: packages/artifacts/src/domain-digest.ts:53
Which digest algorithm an artifact's domain digests use, selected by the artifact's DECLARED hashVersion: ≤ 4 → the legacy digest, 5 → version 1. An invalid declaration is an error, never a guess (IC-4′.2).
Parameters
hashVersion
unknown