TYPE NOT FOUND
Failed to load API docs metadata for type "".
The Cryptor object provides access to both block ciphers and stream ciphers with the same API; however some options are available for block ciphers that do not apply to stream ciphers. The Android version of this module only exposes block ciphers.
The general operation of a Cryptor is:
- Initialize it with raw key data and other optional fields with
- Process input data via one or more calls to
- Obtain possible remaining output data with
- The cryptor object is disposed of by setting the
null. The cryptor object can be reused (with the same key data as provided to
crypto.createCryptor()) by calling
cryptor.decrypt() methods are provided for a stateless, one-shot encrypt or decrypt operation.