Exports a secret using a variable-length pseudorandom function.
If the error occurred, throws ExportError.
An exporter context string as bytes. The maximum length is 128 bytes.
A desired length in bytes of the output secret.
A secret string as bytes.
Encrypts data.
If the error occurred, throws SealError | MessageLimitReachedError.
A plain text as bytes to be encrypted.
Optionalaad: ArrayBufferAdditional authenticated data as bytes fed by an application.
A cipher text as bytes.
The sender encryption context.