Skip to main content

@webda/coreReadme | API


Interface: StringEncrypter

Encrypt/Decrypt string

Methods

decrypt()

decrypt(data, options?): Promise<string>

Decrypt a string

Parameters

data: string

options?: any

Returns

Promise<string>

Source

packages/core/src/services/cryptoservice.ts:74


encrypt()

encrypt(data, options?): Promise<string>

Encrypt a string

Parameters

data: string

options?: any

Returns

Promise<string>

Source

packages/core/src/services/cryptoservice.ts:68