From 3abeae192fbe68864360cc9da10b4cbcdcb01fc2 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Wed, 27 Nov 2024 13:21:05 +0000 Subject: [PATCH] TODO --- test/basic.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/basic.test.js b/test/basic.test.js index cc18a04..69d894b 100644 --- a/test/basic.test.js +++ b/test/basic.test.js @@ -186,11 +186,14 @@ describe('Basic', () => { }); should('be able to reuse input and output arrays', () => { + // TODO: test AES + // TODO: test different values of FILL_BYTE + if (!['xsalsa20poly1305', 'xchacha20poly1305', 'chacha20poly1305'].includes(k)) return; if (k.includes('managedNonce')) return; const isSalsa = k === 'xsalsa20poly1305'; const { fn, keyLen } = opts; - const TMP_FILL_BYTE = 0; // TODO: try different values + const TMP_FILL_BYTE = 0; const msg = new TextEncoder().encode('hello'); const key = new Uint8Array(keyLen).fill(1);