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

Function addCipherPrototypeFunctions

lib/internal/crypto/cipher.js:223–235  ·  view source on GitHub ↗
(constructor)

Source from the content-addressed store, hash-verified

221}
222
223function addCipherPrototypeFunctions(constructor) {
224 constructor.prototype._transform = _transform;
225 constructor.prototype._flush = _flush;
226 constructor.prototype.update = update;
227 constructor.prototype.final = final;
228 constructor.prototype.setAutoPadding = setAutoPadding;
229 if (constructor === Cipheriv) {
230 constructor.prototype.getAuthTag = getAuthTag;
231 } else {
232 constructor.prototype.setAuthTag = setAuthTag;
233 }
234 constructor.prototype.setAAD = setAAD;
235}
236
237ObjectSetPrototypeOf(Cipheriv.prototype, LazyTransform.prototype);
238ObjectSetPrototypeOf(Cipheriv, LazyTransform);

Callers 1

cipher.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…