Skip to main content

Encrypted

@webda/core


Variable: Encrypted

const Encrypted: {(initialValue, context): void; (...args): (initialValue, context) => void; }

Defined in: packages/core/src/models/decorator.ts:89

Placeholder that only prefixes the value with "ENCRYPTED:": it does NOT encrypt anything

Call Signature​

(initialValue, context): void

Parameters​

initialValue​

undefined

context​

any

Returns​

void

Call Signature​

(...args): (initialValue, context) => void

Parameters​

args​

...[any]

Returns​

(initialValue, context) => void

Deprecated​

use the EncryptedField behavior (field: EncryptedField<T>), encrypted with the CryptoService