MessageSigner constructor

MessageSigner({
  1. required String nodeId,
})

Creates a signer using the node's UUID as the signing key.

nodeId — the local node's UUID (used as the HMAC key).

Implementation

MessageSigner({required String nodeId})
    : _keyBytes = utf8.encode(nodeId);