Domain_sep
domain_sep(
s
):Uint8Array
Defined in: packages/agent/src/certificate.ts:400
Creates a domain separator for hashing by encoding the input string with its length as a prefix.
Parameters
Section titled “Parameters”string
The input string to encode.
Returns
Section titled “Returns”Uint8Array
A Uint8Array containing the encoded domain separator.