Creates a domain separator for hashing by encoding the input string with its length as a prefix.
The input string to encode.
A Uint8Array containing the encoded domain separator.
Creates a domain separator for hashing by encoding the input string with its length as a prefix.