It's actually half a SHA512, I think :-) The distinction between nodeid/index and hash could be more clearly made as it depends on the node type. A LedgerMaster's nodeid and hash are the same thing. An inner nodes doesn't have a hash. A leaf node has a hash and a nodeid. Confusing :-)