getHash

abstract suspend fun getHash(algorithm: Algorithm = Algorithm.SHA256): 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