Lines Matching refs:crypt
50 const crypt = new Sink();
51 const chunks = crypt.chunks;
52 plain.pipe(c).pipe(crypt);
55 crypt.on('close', common.mustCall(() => {
60 const crypt = new stream.PassThrough();
62 crypt.pipe(d).pipe(plain);
63 for (const chunk of chunks) crypt.write(chunk);
64 crypt.end();
85 const crypt = fs.createWriteStream(filename('b'));
86 plain.pipe(c).pipe(crypt);
90 crypt.on('close', common.mustCall(() => {
106 const crypt = fs.createReadStream(filename('b'));
108 crypt.pipe(d).pipe(plain);