Searched refs:hasher1 (Results 1 – 2 of 2) sorted by relevance
11 const hasher1 = crypto.createHash('sha256'); constant15 hasher1.write(Buffer.from('hello world'));16 hasher1.end();18 const expected = hasher1.read().toString('hex');
50 const hasher1 = crypto.createHash('md5'); constant51 hasher1.pipe(new Stream2buffer(common.mustCall(function end(err, hash) {57 hasher1.end('Hallo world');