Discuss this help topic in SecureBlackbox Forum
Decrypts the data.
Declaration
Parameters
- AlgID - specifies the encryption algorithm.
- Buffer - buffer with encrypted data.
- Size - the size of the data block (in Buffer) to be decrypted.
- Offset - the offset of the encrypted data block in Buffer.
- Count - the number of bytes to be read from Buffer.
- IV - specifies the Initial Vector.
- InBuffer - buffer with encrypted data.
- InIndex - the offset of the encrypted data block in InBuffer.
- InSize - the size of the data block (in InBuffer) to be decrypted.
- InStream - stream with encrypted data.
- InCount - number of bytes to be read from InStream.
- Key - the secret key.
- Mode - specifies the encryption mode.
- OutBuffer - buffer where the decrypted data should be stored.
- OutIndex - the fffset in the OutBuffer, starting from which the data is written.
- OutSize - the amount of free space in OutBuffer, in bytes.
- OutStream - stream where the decrypted data will be written.
Algorithm identifier values:
Mode values:
Return value
Returns the decrypted data.
Description
Use this method when you want to decrypt the data and you have all data for decryption at hand.
This method is a shorthand for InitializeDecryption / DecryptUdpdate / FinalizeDecryption sequence of calls.
Discuss this help topic in SecureBlackbox Forum