From 9688c12797a7fb0be1a77d5a99b9c64a969a1c4c Mon Sep 17 00:00:00 2001 From: C-3PO Date: Thu, 5 Jul 2018 03:32:54 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Minor=20function=20signature=20c?= =?UTF-8?q?hange?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/streams/decryptStream.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssn/streams/decryptStream.ts b/src/ssn/streams/decryptStream.ts index 3343e10..1c31c5b 100644 --- a/src/ssn/streams/decryptStream.ts +++ b/src/ssn/streams/decryptStream.ts @@ -1,8 +1,8 @@ import * as stream from 'stream'; import getDecryptor from '../decryption/decryptChunk'; -export default function decryptStream(inputStream: stream.Readable, [key0, key1, key2]: [number, number, number]): stream.Readable { - const decryptor = getDecryptor([key0, key1, key2]); +export default function decryptStream(inputStream: stream.Readable, decryptionKeys: [number, number, number]): stream.Readable { + const decryptor = getDecryptor(decryptionKeys); const outStream = new stream.Readable({ read(size) {