getHash

open suspend override fun getHash(algorithm: Algorithm): ByteString

Computes hash of the transaction data.

It is important that the verifier uses the same algorithm as the presenter (NB: the set of supported hash algorithms may differ!).

Return

hash of the transaction data