Type Alias: EncryptionOptions
ts
type EncryptionOptions = {
algorithm: EncryptionAlgorithm;
secret: string | Secret<string>;
};Config accepted by the encryption
Properties
| Property | Type | Description |
|---|---|---|
algorithm? | EncryptionAlgorithm | The encryption algorithm to use. Default is aes-256-cbc |
secret | string | Secret<string> | The encryption key to use |