Interface: EncryptionOptions
Defined in: src/security/Encryption.ts:3
Properties
key?
optionalkey?:string|Buffer<ArrayBufferLike>
Defined in: src/security/Encryption.ts:5
256-bit secret key (32 bytes or 64-character hex string). Defaults to process.env.NSP_ENCRYPTION_KEY
algorithm?
optionalalgorithm?:"aes-256-gcm"|"aes-256-cbc"
Defined in: src/security/Encryption.ts:7
Encryption algorithm. Defaults to aes-256-gcm