Used for encrypting and decrypting data.
Using symmetric algorithms: DES, TripleDES, Blowfish.
Methods
binary final()
Finishes a multiple-part encryption or decryption
operation, depending on how this cipher was initialized.
binary final(
object data [,
int offset,
int length] )
Encrypts or decrypts data in a single-part operation, or
finishes a multiple-part operation.
| Parameters |
data -
string or binary data
offset -
offset in data
length -
length of data
|
| Returns |
processed data |
Returns the algorithm name of this Cipher object.
Returns the block size (in bytes).
Continues a multiple-part encryption or decryption
operation (depending on how this cipher was initialized),
processing another data part.
| Parameters |
data -
string or binary data
offset -
offset in data
length -
length of data
|
| Returns |
processed data |