calculateHash

fun calculateHash(data: ByteArray, identityKey: ByteArray): ByteArray

Generates Node Identity Hash using the given Identity Key

Return

Function of the included random number and identity information.

Parameters

data

48-bits of padding of 0s, 65-bit random value and the unicast Address of the node.

identityKey

Identity key.