decipher.final()

decipher.final([output_encoding])

Returns any remaining deciphered 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 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.

doc_Nodejs
2016-04-30 04:38:38
Comments
Leave a Comment

Please login to continue.