node-forge: Allow byte buffer or byte array for IV

This commit is contained in:
Andrew Haines
2019-03-21 12:23:28 +00:00
parent a228c252e2
commit c63dff33a2
+1 -1
View File
@@ -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;