function · Browser and Node
addressTag
The 4-byte address tag of a packet from S to R, under k(S→R). Fresh for every enc.
@toip-tools/mesh-transportView sourceimport { addressTag } from "@toip-tools/mesh-transport";
Declaration
addressTag(k: Uint8Array, enc: Uint8Array): Uint8Array<ArrayBuffer>;
Parameters
krequiredUint8Array<ArrayBufferLike>encrequiredUint8Array<ArrayBufferLike>
Returns
Uint8Array<ArrayBuffer>