MCPcopy Index your code
hub / github.com/nodejs/node / asyncAesCbcCipher

Function asyncAesCbcCipher

lib/internal/crypto/aes.js:125–133  ·  view source on GitHub ↗
(mode, key, data, algorithm)

Source from the content-addressed store, hash-verified

123}
124
125function asyncAesCbcCipher(mode, key, data, algorithm) {
126 return jobPromise(() => new AESCipherJob(
127 kCryptoJobWebCrypto,
128 mode,
129 getCryptoKeyHandle(key),
130 data,
131 getVariant('AES-CBC', getCryptoKeyAlgorithm(key).length),
132 algorithm.iv));
133}
134
135function asyncAesKwCipher(mode, key, data) {
136 return jobPromise(() => new AESCipherJob(

Callers 1

aesCipherFunction · 0.85

Calls 4

jobPromiseFunction · 0.85
getCryptoKeyHandleFunction · 0.85
getVariantFunction · 0.85
getCryptoKeyAlgorithmFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…