@pbvex/protocol / formatOpaqueId
Function: formatOpaqueId()
formatOpaqueId(
envelope,mac):string
Formats a structural ID envelope with an already-authenticated MAC.
Parameters
envelope
Omit<OpaqueIdEnvelope, "mac">
mac
Uint8Array
Returns
string