hash

fun hash(node: Node): ByteString

Computes hash for the given node.

Note: for nodes with assigned hashes this computes their hash in the regular fashion.