Skip to main content

@webda/coreReadme | API


Class: SecretString

Constructors

new SecretString(str, encrypter)

new SecretString(str, encrypter): SecretString

Parameters

str: string

encrypter: string

Returns

SecretString

Source

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

Properties

encrypter

protected encrypter: string

Source

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


str

protected str: string

Source

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

Methods

[custom]()

[custom](depth, options, inspect): string

Parameters

depth: any

options: any

inspect: any

Returns

string

Source

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


getValue()

getValue(): string

Returns

string

Source

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


toString()

toString(): string

Returns

string

Source

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


from()

static from(value, path?): string

Parameters

value: string | SecretString

path?: string

Returns

string

Source

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