mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-25 22:41:36 +08:00
Fix default ivLength in dump-db tool
This commit is contained in:
parent
7dfeb20678
commit
9d32cd36ee
@ -16,7 +16,7 @@ function decryptString(dataKey: any, cipherText: any) {
|
|||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
function decrypt(key: any, cipherText: any, ivLength = 13) {
|
function decrypt(key: any, cipherText: any, ivLength = 16) {
|
||||||
if (cipherText === null) {
|
if (cipherText === null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user