cipher.update(data [, buffer]) â string or buffer
Instance Public methods
Encrypts data in a streaming fashion. Hand consecutive blocks of data to
the update method in order to encrypt it. Returns the
encrypted data chunk. When done, the output of #final should be additionally added
to the result.
Parameters
data is a nonempty string. buffer is an optional
string to store the result.