Skip to main content

SecretBox.encrypt() method

Signature:

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

Parameters

Parameter

Type

Description

message

string

**Returns:**

Promise<string>