MCPcopy Create free account
hub / github.com/nodejs/node / getDeriveKeyInfo

Function getDeriveKeyInfo

test/pummel/test-webcrypto-derivebits-pbkdf2.js:16–18  ·  view source on GitHub ↗
(name, length, hash, ...usages)

Source from the content-addressed store, hash-verified

14const { subtle } = globalThis.crypto;
15
16function getDeriveKeyInfo(name, length, hash, ...usages) {
17 return [{ name, length, hash }, usages];
18}
19
20const kDerivedKeyTypes = [
21 ['AES-CBC', 128, undefined, 'encrypt', 'decrypt'],

Calls

no outgoing calls

Tested by

no test coverage detected