add file name support for encryptFile & decryptFile

also adds supporting methods l/e int32 byteArray2int & int2byteArray
creates TextEncoder, TextDecoder objects in global module scope
creates magic value METADATA_LENGTH of 1020 + 4 (4 bytes * 255 chars, 4
bytes for int32)
This commit is contained in:
2024-09-10 18:31:28 +03:00
parent fa44bfe2eb
commit 4fcdcb65bd
4 changed files with 114 additions and 49 deletions

View File

@@ -7,7 +7,7 @@ module.exports = {
path: path.resolve(__dirname, "dist"),
},
experiments: {
asyncWebAssembly: true,
syncWebAssembly: true,
},
mode: "development",
};