toArrayDigestElement
Creates the appropriate JSON Object for a Digest being inserted into a JsonArray.
Receiver
the JsonArray representing the array disclosure.
Return
the JsonObject to insert into a JsonArray as a digest in place of the element.
Parameters
digestAlgorithm
the digest algorithm to use.