Flowdock
method

update

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Cipher
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.

Parameters

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

Show source
Register or log in to add new notes.