From 9d32cd36eef5eb086ae8a2de537fff6bde06f020 Mon Sep 17 00:00:00 2001 From: Nriver <6752679+Nriver@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:16:04 +0800 Subject: [PATCH] Fix default ivLength in dump-db tool --- dump-db/inc/decrypt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump-db/inc/decrypt.ts b/dump-db/inc/decrypt.ts index d7ae92614..ecbc820b5 100644 --- a/dump-db/inc/decrypt.ts +++ b/dump-db/inc/decrypt.ts @@ -16,7 +16,7 @@ function decryptString(dataKey: any, cipherText: any) { return str; } -function decrypt(key: any, cipherText: any, ivLength = 13) { +function decrypt(key: any, cipherText: any, ivLength = 16) { if (cipherText === null) { return null; }