method Decipher.prototype.update
Jump to headingDecipher.prototype.update(data: ArrayBufferView): BufferUpdates the decipher with data. If the inputEncoding argument is given,
the data argument is a string using the specified encoding. If the inputEncoding argument is not given, data must be a Buffer. If data is a Buffer then inputEncoding is
ignored.
The outputEncoding specifies the output format of the enciphered
data. If the outputEncoding is specified, a string using the specified encoding is returned. If no outputEncoding is provided, a Buffer is returned.
The decipher.update() method can be called multiple times with new data until decipher.final() is called. Calling decipher.update() after decipher.final() will result in an error
being thrown.
Parameters Jump to heading
Jump to headingdata: ArrayBufferViewReturn Type Jump to heading
BufferJump to headingDecipher.prototype.update(data: string,inputEncoding: Encoding,): BufferParameters Jump to heading
Jump to headingdata: stringJump to headinginputEncoding: EncodingReturn Type Jump to heading
BufferJump to headingDecipher.prototype.update(): stringParameters Jump to heading
Jump to headingdata: ArrayBufferViewJump to headinginputEncoding: undefinedJump to headingoutputEncoding: EncodingReturn Type Jump to heading
stringJump to headingDecipher.prototype.update(): stringParameters Jump to heading
Jump to headingdata: stringJump to headinginputEncoding: Encoding | undefinedJump to headingoutputEncoding: EncodingReturn Type Jump to heading
string