update(p1, p2 = v2) public

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 Cipher#final should be additionally added to the result.


data is a nonempty string. buffer is an optional string to store the result.

Show source
Register or log in to add new notes.