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

Function final

lib/internal/crypto/cipher.js:171–180  ·  view source on GitHub ↗
(outputEncoding)

Source from the content-addressed store, hash-verified

169};
170
171function final(outputEncoding) {
172 const ret = this[kHandle].final();
173
174 if (outputEncoding && outputEncoding !== 'buffer') {
175 this._decoder = getDecoder(this._decoder, outputEncoding);
176 return this._decoder.end(ret);
177 }
178
179 return ret;
180};
181
182function setAutoPadding(ap) {
183 if (!this[kHandle].setAutoPadding(!!ap))

Callers

nothing calls this directly

Calls 3

getDecoderFunction · 0.85
finalMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…