Home
last modified time | relevance | path

Searched refs:hasher1 (Results 1 – 2 of 2) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-lazy-transform-writable.js11 const hasher1 = crypto.createHash('sha256'); constant
15 hasher1.write(Buffer.from('hello world'));
16 hasher1.end();
18 const expected = hasher1.read().toString('hex');
Dtest-crypto-stream.js50 const hasher1 = crypto.createHash('md5'); constant
51 hasher1.pipe(new Stream2buffer(common.mustCall(function end(err, hash) {
57 hasher1.end('Hallo world');