Zen API
|
Decrypts data.
When decrypting data, it is necessary to use the same cipher mode that was used to encrypt the data.
It is the caller's responsibility to remove any padding that was added during encryption.
cipher | Cipher object. |
data | Data to decrypt. |
dataLength | Length of the data to decrypt, in bytes (multiple of the block size). |
result | Receives decrypted output. |