Get data tree digest

Returns the digest of the data tree.