From c63dff33a24de9e8635abc0e21b86a50f8bf3a4b Mon Sep 17 00:00:00 2001 From: Andrew Haines Date: Thu, 21 Mar 2019 12:23:28 +0000 Subject: [PATCH] node-forge: Allow byte buffer or byte array for IV --- types/node-forge/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/node-forge/index.d.ts b/types/node-forge/index.d.ts index 4a366deab7..47a601fc32 100644 --- a/types/node-forge/index.d.ts +++ b/types/node-forge/index.d.ts @@ -639,7 +639,7 @@ declare module "node-forge" { function createDecipher(algorithm: Algorithm, payload: util.ByteBuffer | Bytes): BlockCipher; interface StartOptions { - iv?: Bytes; + iv?: util.ByteBuffer | Byte[] | Bytes; tag?: util.ByteStringBuffer; tagLength?: number; additionalData?: string;