decipher.final([outputEncoding])
outputEncoding<string> 返回值的 编码。- 返回: <Buffer> | <string> 任何剩余的解密内容。
如果指定了
outputEncoding,则返回一个字符串。 如果未提供outputEncoding,则返回一个Buffer。
一旦调用了 decipher.final() 方法,Decipher 对象将不能再用于解密数据。尝试多次调用 decipher.final() 会导致抛出错误。
【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.】