Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Nov 27, 2024
1 parent 6b582a6 commit 3abeae1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3abeae1

Please sign in to comment.