calculateKeyDerivatives

Calculates the NID, EncryptionKey, PrivacyKey, NetworkID, IdentityKey, BeaconKey, PrivateBeaconKey for a given NetworkKey

Return

Key Derivatives.

Parameters

N

128-bit NetworkKey.

isDirected

Boolean value representing whether these Key Derivatives are for a directed message using the directed security credentials.


/** Calculates the Friendship Credentials NID, EncryptionKey, PrivacyKey, NetworkID, IdentityKey, BeaconKey, PrivateBeaconKey for a given NetworkKey

Return

Friendship Credentials Key Derivatives. */

Parameters

N

128-bit NetworkKey.

P

additional data to be used when calculating the Key Derivatives for Friendship Credentials