Home
last modified time | relevance | path

Searched refs:createHash (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/node/test/parallel/
Dtest-crypto-hash.js16 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(); // buffer
19 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 …]
Dtest-crypto-stream.js50 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();
Dtest-crypto-from-binary.js53 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');
Dtest-crypto-binary-default.js368 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(); // binary
371 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' }),
Dtest-crypto-lazy-transform-writable.js11 const hasher1 = crypto.createHash('sha256');
12 const hasher2 = crypto.createHash('sha256');
Dtest-policy-integrity-flag.js18 const emptyHash = crypto.createHash('sha512');
21 const policyHash = crypto.createHash('sha512');
Dtest-crypto.js97 () => crypto.createHash('sha1').update({ foo: 'bar' }),
190 () => crypto.createHash('sha1').update('0', 'hex'),
273 const hash = crypto.createHash('sha256', options);
Dtest-zlib-random-byte-pipes.js43 this._hasher = crypto.createHash('sha1');
118 this._hasher = crypto.createHash('sha1');
Dtest-crypto-hash-stream-pipe.js33 const h = crypto.createHash('sha3-512');
/third_party/node/deps/npm/node_modules/libnpmpublish/test/
Dpublish.js30 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 …]
/third_party/node/deps/npm/node_modules/sha/
Dindex.js57 var hash = crypto.createHash(algorithm)
79 var hash = crypto.createHash(algorithm)
89 var hash = crypto.createHash(algorithm)
DREADME.md21 - 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`
/third_party/typescript/src/testRunner/unittests/tscWatch/
Dincremental.ts161 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"),
/third_party/typescript_eslint/packages/typescript-estree/src/create-program/
DcreateWatchProgram.ts112 function createHash(content: string): string { function
114 if (ts.sys?.createHash) {
115 return ts.sys.createHash(content);
156 const codeHash = createHash(code);
284 parsedFilesSeenHash.set(filePath, createHash(fileContent));
/third_party/node/benchmark/crypto/
Dhash-stream-throughput.js50 const h = crypto.createHash(algo);
64 const h = crypto.createHash(algo);
Dhash-stream-creation.js53 const h = crypto.createHash(algo);
71 const h = crypto.createHash(algo);
/third_party/node/deps/npm/test/tap/
Dlocker.js30 var h = crypto.createHash('sha1').update(p).digest('hex')
60 var h = crypto.createHash('sha1').update(p).digest('hex')
/third_party/node/tools/
Dtest-npm-package.js20 const { createHash } = require('crypto');
41 const srcHash = createHash('md5').update(srcDir).digest('hex');
/third_party/node/deps/npm/node_modules/sshpk/lib/
Dfingerprint.js61 var theirHash2 = crypto.createHash(this.algorithm).
65 this.hash2 = crypto.createHash(this.algorithm).
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/
Dindex.js108 var tmpFileHash = crypto.createHash('sha512')
109 var targetFileHash = crypto.createHash('sha512')
/third_party/node/deps/npm/node_modules/ssri/
Dindex.js204 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)
/third_party/node/lib/
Dcrypto.js113 function createHash(algorithm, options) { function
164 createHash, property
/third_party/node/deps/npm/node_modules/uuid/lib/
Dsha1.js22 return crypto.createHash('sha1').update(bytes).digest();
Dmd5.js22 return crypto.createHash('md5').update(bytes).digest();
/third_party/typescript/src/compiler/
Dwatch.ts478 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),

1234