toDigest

suspend fun JsonArray.toDigest(digestAlgorithm: Algorithm): String

Creates a digest from a disclosure, using the provided digest algorithm.

Receiver

the JsonArray representing the disclosure.

Return

the String digest of the JsonArray.

Parameters

digestAlgorithm

the digest algorithm to use.