Rulvar API reference / @rulvar/rulvar / toolsetAuthorityHash
Function: toolsetAuthorityHash()
ts
function toolsetAuthorityHash(authorities): string;Defined in: packages/core/dist/index.d.ts
The aggregate authority hash (RV1802): sha256 over the JCS-canonical array of per-tool authority records, each carrying its tool name, sorted by name; toolsetHash's exact aggregation shape, over the authority side.
Parameters
| Parameter | Type |
|---|---|
authorities | Record<string, ToolAuthority> |
Returns
string