Crypto
Functions
Authenticates the received Secure Network beacon using the given Beacon Key.
Calculates the AID for a given ApplicationKey.
Calculates the device public key based on the provisioners public key.
Generates Node Identity Hash using the given Identity Key
Calculates the NID, EncryptionKey, PrivacyKey, NetworkID, IdentityKey, BeaconKey, PrivateBeaconKey for a given NetworkKey
/** Calculates the Friendship Credentials NID, EncryptionKey, PrivacyKey, NetworkID, IdentityKey, BeaconKey, PrivateBeaconKey for a given NetworkKey
Calculates the Session Key, Session Nonce and the Device Key based on the Confirmation Inputs, 16 or 32-byte Provisioner Random and 16 or 32-byte device Random.
Calculates the 64-bit Network ID. The Network ID is derived from the network key such that each network key generates one Network ID.
Calculates the salt based on a given input.
Calculates the salt based on a given input.
Calculates the shared secret based on the given public key and the local private key.
Creates a 16-bit virtual address for a given UUID.
Generates a pair of Private and Public Keys using P256 Elliptic Curve.
Generates a random number of the given size in bits.
Generates a 128-bit random key using a SecureRandom.
Returns the public key encoded as a 64-byte array