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

Function createCipherBase

lib/internal/crypto/cipher.js:117–123  ·  view source on GitHub ↗
(cipher, credential, options, isEncrypt, iv)

Source from the content-addressed store, hash-verified

115}
116
117function createCipherBase(cipher, credential, options, isEncrypt, iv) {
118 const authTagLength = getUIntOption(options, 'authTagLength');
119 this[kHandle] = new CipherBase(isEncrypt, cipher, credential, iv, authTagLength);
120 this._decoder = null;
121
122 FunctionPrototypeCall(LazyTransform, this, options);
123}
124
125function createCipherWithIV(cipher, key, options, isEncrypt, iv) {
126 validateString(cipher, 'cipher');

Callers

nothing calls this directly

Calls 1

getUIntOptionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…