Home
last modified time | relevance | path

Searched refs:getHashes (Results 1 – 11 of 11) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto.js148 assert.notStrictEqual(crypto.getHashes().length, 0);
149 assert(crypto.getHashes().includes('sha1'));
150 assert(crypto.getHashes().includes('sha256'));
151 assert(!crypto.getHashes().includes('SHA1'));
152 assert(!crypto.getHashes().includes('SHA256'));
153 assert(crypto.getHashes().includes('RSA-SHA1'));
154 assert(!crypto.getHashes().includes('rsa-sha1'));
155 validateList(crypto.getHashes());
157 for (const algo of crypto.getHashes())
177 testImmutability(crypto.getHashes);
Dtest-crypto-hkdf.js14 getHashes
220 getHashes()
Dtest-crypto-pbkdf2.js224 crypto.getHashes()
Dtest-crypto-dh-curves.js23 const availableHashes = new Set(crypto.getHashes());
/third_party/node/test/addons/openssl-providers/
Dproviders.cjs10 const { createHash, getCiphers, getHashes } = require('node:crypto');
56 assertArrayIncludes(getHashes(), hash, 'Available hashes');
70 assertArrayDoesNotInclude(getHashes(), hash, 'Available hashes');
/third_party/node/lib/internal/crypto/
Dutil.js29 getHashes: _getHashes,
101 const getHashes = cachedResult(() => filterDuplicateStrings(_getHashes())); constant
564 getHashes, property
/third_party/node/lib/
Dcrypto.js117 getHashes,
199 getHashes, property
/third_party/node/deps/undici/src/lib/fetch/
Dutil.js592 const supportedHashes = crypto.getHashes()
/third_party/node/deps/npm/node_modules/ssri/lib/
Dindex.js563 const NODE_HASHES = crypto.getHashes()
/third_party/node/doc/api/
Dcrypto.md3592 [`crypto.getHashes()`][] to obtain the names of the available digest algorithms.
3612 Use [`crypto.getHashes()`][] to obtain an array of names of the available
4200 ### `crypto.getHashes()`
4211 getHashes,
4214 console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
4219 getHashes,
4222 console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
4437 [`crypto.getHashes()`][].
4506 [`crypto.getHashes()`][].
6146 [`crypto.getHashes()`]: #cryptogethashes
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md858 * crypto: add getHashes() and getCiphers() (Ben Noordhuis)