Searched refs:createHash (Results 1 – 25 of 79) 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');
18 const emptyHash = crypto.createHash('sha512');21 const policyHash = crypto.createHash('sha512');
97 () => crypto.createHash('sha1').update({ foo: 'bar' }),190 () => crypto.createHash('sha1').update('0', 'hex'),273 const hash = crypto.createHash('sha256', options);
43 this._hasher = crypto.createHash('sha1');118 this._hasher = crypto.createHash('sha1');
33 const h = crypto.createHash('sha3-512');
30 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')88 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')149 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')265 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')348 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')415 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')488 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')548 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')633 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')746 const shasum = crypto.createHash('sha1').update(tarData).digest('hex')[all …]
57 var hash = crypto.createHash(algorithm)79 var hash = crypto.createHash(algorithm)89 var hash = crypto.createHash(algorithm)
21 - algorithm: defaults to `sha1` and can be any of the algorithms supported by `crypto.createHash`29 - algorithm: defaults to `sha1` and can be any of the algorithms supported by `crypto.createHash`45 - algorithm: defaults to `sha1` and can be any of the algorithms supported by `crypto.createHash`
161 version: system.createHash(libFile.content),162 signature: system.createHash(libFile.content),166 version: system.createHash(file1.content),167 … signature: system.createHash(`${file1.content.replace("export ", "export declare ")}\n`),171 version: system.createHash(fileModified.content),172 signature: system.createHash("export declare const y: string;\n"),
112 function createHash(content: string): string { function114 if (ts.sys?.createHash) {115 return ts.sys.createHash(content);156 const codeHash = createHash(code);284 parsedFilesSeenHash.set(filePath, createHash(fileContent));
50 const h = crypto.createHash(algo);64 const h = crypto.createHash(algo);
53 const h = crypto.createHash(algo);71 const h = crypto.createHash(algo);
30 var h = crypto.createHash('sha1').update(p).digest('hex')60 var h = crypto.createHash('sha1').update(p).digest('hex')
20 const { createHash } = require('crypto');41 const srcHash = createHash('md5').update(srcDir).digest('hex');
61 var theirHash2 = crypto.createHash(this.algorithm).65 this.hash2 = crypto.createHash(this.algorithm).
108 var tmpFileHash = crypto.createHash('sha512')109 var targetFileHash = crypto.createHash('sha512')
204 const digest = crypto.createHash(algo).update(data).digest('base64')250 const digest = crypto.createHash(algorithm).update(data).digest('base64')303 const hashes = algorithms.map(crypto.createHash)352 const hashes = algorithms.map(crypto.createHash)
113 function createHash(algorithm, options) { function164 createHash, property
22 return crypto.createHash('sha1').update(bytes).digest();
22 return crypto.createHash('md5').update(bytes).digest();
478 createHash: maybeBind(host, host.createHash),508 …export function setGetSourceFileAsHashVersioned(compilerHost: CompilerHost, host: { createHash?(da…510 const computeHash = maybeBind(host, host.createHash) || generateDjb2Hash;541 createHash: maybeBind(system, system.createHash),