Cipher object
Property | Description | Access | Type |
---|---|---|---|
Cipher.encrypted | Get encrypted binary data | readonly | Buffer |
Cipher.decrypted | Get decrypted binary data | readonly | Buffer |
Cipher.algorithm | Get the algorithm used by the Cipher object | readonly | string |
Method | Description | Return value |
---|---|---|
Cipher.constructor() | Cipher object constructor | Cipher |
Cipher:encrypt() | Encrypt binary data | number |
Cipher:decrypt() | Decrypt binary data | number |
Cipher:reset() | Clear internal encryption/decryption buffers. | - |