Lines Matching refs:txt
34 let txt = decipher.update(ciph, 'hex', 'utf8');
35 txt += decipher.final('utf8');
37 assert.strictEqual(txt, plaintext);
49 txt = dStream.read().toString('utf8');
51 assert.strictEqual(txt, plaintext);
70 let txt = decipher.update(ciph, 'base64', 'utf8');
71 txt += decipher.final('utf8');
73 assert.strictEqual(txt, plaintext);
204 let txt;
205 txt = decipher.update(ciph, 'base64', 'ucs2');
206 txt += decipher.final('ucs2');
207 assert.strictEqual(txt, plaintext);
210 txt = decipher.update(ciph, 'base64', 'ucs-2');
211 txt += decipher.final('ucs-2');
212 assert.strictEqual(txt, plaintext);
215 txt = decipher.update(ciph, 'base64', 'utf-16le');
216 txt += decipher.final('utf-16le');
217 assert.strictEqual(txt, plaintext);