From 7a81637819621d2572becb82ebb9fe3e773fdb91 Mon Sep 17 00:00:00 2001 From: Eric Bell Date: Mon, 9 Nov 2026 14:08:11 -0500 Subject: [PATCH] Use a neutral sample string in the crypto round-trip test The previous sample text coincided with a real PIN from the source material. Replace it with a placeholder. Co-Authored-By: Claude Sonnet 5.5 --- test/crypto.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/crypto.test.js b/test/crypto.test.js index b9060ad..f06f498 100644 --- a/test/crypto.test.js +++ b/test/crypto.test.js @@ -3,7 +3,7 @@ import assert from 'node:assert/strict'; import { encrypt, decrypt, DecryptError } from '../src/crypto.js'; const FAST = 1000; // iterations; production default is 600000 -const text = JSON.stringify({ note: 'ünïcødé ✓ secret 7419', big: 'x'.repeat(200000) }); +const text = JSON.stringify({ note: 'ünïcødé ✓ secret sample', big: 'x'.repeat(200000) }); test('round trip', async () => { const blob = await encrypt(text, 'correct horse', FAST);