Skip to main content

AbstractSecretBox.encrypt() method

Signature:

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

Parameters

ParameterTypeDescription
messagestring

Returns:

Promise<string>