Skip to content

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.

string

The input string to encode.

Uint8Array

A Uint8Array containing the encoded domain separator.