Skip to main content

SecretBox.encrypt() method

Signature:

encrypt(message: string): Promise<string>;

Parameters

ParameterTypeDescription
messagestring

Returns:

Promise<string>