cipher.final([output_encoding])
Returns any remaining enciphered contents. If output_encoding
parameter is one of 'binary'
, 'base64'
or 'hex'
, a string is returned. If an output_encoding
is not provided, a Buffer
is returned.
Once the cipher.final()
method has been called, the Cipher
object can no longer be used to encrypt data. Attempts to call cipher.final()
more than once will result in an error being thrown.
Please login to continue.