Skip to main content

final

method Decipher.prototype.final
Jump to headingDecipher.prototype.final(): Buffer

Once the decipher.final() method has been called, the Decipher object can no longer be used to decrypt data. Attempts to call decipher.final() more than once will result in an error being thrown.

Return Type Jump to heading

Buffer

Any remaining deciphered contents. If outputEncoding is specified, a string is returned. If an outputEncoding is not provided, a Buffer is returned.

Jump to headingDecipher.prototype.final(outputEncoding: BufferEncoding): string

Parameters Jump to heading

Jump to headingoutputEncoding: BufferEncoding

Return Type Jump to heading

string
Back to top