VirtualAddress

data class VirtualAddress(val labelUuid: Uuid) : MeshAddress

A virtual address derived from a 128-bit UUID label.

The 16-bit address value is computed by hashing the label UUID with the salt "vtad" using AES-CMAC and taking the lower 16 bits of the result.

Constructors

Link copied to clipboard
constructor(labelUuid: Uuid)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val value: UShort

16-bit hash of the label UUID. Computed via AES-CMAC(salt="vtad", data=labelUuid.bytes).

Functions

Link copied to clipboard
open operator override fun compareTo(other: MeshAddress): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int