Searched refs:createHash (Results 1 – 25 of 83) sorted by relevance
1234
16 const a1 = crypto.createHash('sha1').update('Test123').digest('hex');17 const a2 = crypto.createHash('sha256').update('Test123').digest('base64');18 const a3 = crypto.createHash('sha512').update('Test123').digest(); // buffer19 const a4 = crypto.createHash('sha1').update('Test123').digest('buffer');22 let a5 = crypto.createHash('sha512');26 let a6 = crypto.createHash('sha512');33 let a7 = crypto.createHash('sha512');37 let a8 = crypto.createHash('sha512');45 const a0 = crypto.createHash(cryptoType).update('Test123').digest(digest);91 const h1 = crypto.createHash('sha1').update('Test123').digest('hex');[all …]
50 const hasher1 = crypto.createHash('md5');60 crypto.createHash('md5').unpipe({});61 crypto.createHash('md5').setEncoding('utf8');62 crypto.createHash('md5').pause();63 crypto.createHash('md5').resume();
53 const hash1_converted = crypto.createHash('sha1')56 const hash1_direct = crypto.createHash('sha1').update(datum1).digest('hex');60 const hash2_converted = crypto.createHash('sha1')63 const hash2_direct = crypto.createHash('sha1').update(datum2).digest('hex');
368 const a1 = crypto.createHash('sha1').update('Test123').digest('hex');369 const a2 = crypto.createHash('sha256').update('Test123').digest('base64');370 const a3 = crypto.createHash('sha512').update('Test123').digest(); // binary371 const a4 = crypto.createHash('sha1').update('Test123').digest('buffer');374 const a0 = crypto.createHash('md5').update('Test123').digest('latin1');403 const h1 = crypto.createHash('sha1').update('Test123').digest('hex');404 const h2 = crypto.createHash('sha1').update('Test').update('123')412 const sha1Hash = crypto.createHash('sha1');428 crypto.createHash('xyzzy');576 () => crypto.createHash('sha1').update({ foo: 'bar' }),
11 const hasher1 = crypto.createHash('sha256');12 const hasher2 = crypto.createHash('sha256');
97 () => crypto.createHash('sha1').update({ foo: 'bar' }),158 crypto.createHash(algo);206 () => crypto.createHash('sha1').update('0', 'hex'),297 const hash = crypto.createHash('sha256', options);
18 const emptyHash = crypto.createHash('sha512');21 const policyHash = crypto.createHash('sha512');
43 this._hasher = crypto.createHash('sha1');118 this._hasher = crypto.createHash('sha1');
11 const { createHash } = require('crypto');41 createHash(test[1]).update(kData).digest().toString('hex');
33 const h = crypto.createHash('sha3-512');
1 const { createHash } = require('crypto')3 module.exports = ({ name, source }) => createHash('sha512')
162 version: system.createHash(libFile.content),163 signature: system.createHash(libFile.content),168 version: system.createHash(file1.content),169 signature: system.createHash(file1.content),174 version: system.createHash(fileModified.content),175 signature: system.createHash(fileModified.content),
10 const { createHash, getCiphers, getHashes } = require('node:crypto');57 createHash(hash);71 assert.throws(() => { createHash(hash); }, { code: 'ERR_OSSL_EVP_UNSUPPORTED' });
5 createHash,33 createHash(method).update(data).digest();
50 const h = crypto.createHash(algo);64 const h = crypto.createHash(algo);
53 const h = crypto.createHash(algo);67 const h = crypto.createHash(algo);
34 const hash = crypto_1.default.createHash(algorithm);43 const hash = crypto_1.default.createHash(SHA256_ALGORITHM);
20 const { createHash } = require('crypto');41 const srcHash = createHash('md5').update(srcDir).digest('hex');
48 hash = crypto_1.default.createHash(key);125 acc[key] = crypto_1.default.createHash(key);
109 const hasher = crypto_1.default.createHash('sha256');227 const hasher = crypto_1.default.createHash('sha256');
41 this.hashes = this.algorithms.map(crypto.createHash)419 const digest = crypto.createHash(algo).update(data).digest('base64')469 const digest = crypto.createHash(algorithm).update(data).digest('base64')531 const hashes = algorithms.map(crypto.createHash)
1 const h = require('crypto').createHash('sha384');
132 function createHash(algorithm, options) { function185 createHash, property
6 crypto.createHash('sha1')
55 const hash2 = crypto.createHash('sha1')