Discuss this help topic in SecureBlackbox Forum
Encrypts the data. This topic is under developmentā¦
Declaration
Parameters
- AlgID - specifies algorithm identifier.
- Buffer - buffer containing the data to be encrypted.
- Size - size of the data block to be encrypted.
- Offset - offset of the data to be encrypted in Buffer.
- Count - number of bytes to be read from Buffer.
- IV - specifies Initial Vector.
- InBuffer - reference to the data to encrypt.
- InIndex - Offset of the input data in the input array.
- InSize - Size of input data in bytes.
- InStream - the stream with the data for encryption.
- Key - specifies the secret key.
- Mode - specifies encryption mode.
- OutBuffer - reference to buffer where encrypted data should be stored.
- OutIndex - Offset in the output array, starting from which the data is written.
- OutSize - Size of available space in OutBuffer in bytes.
- OutStream - the stream to which the encrypted data will be written.
Mode values:
Return value
Returns the encrypted data.
Description
Use this method when you want to encrypt the data and you have all data for encryption at hand. This method is a shorthand for InitializeEncryption / EncryptUdpdate / FinalizeEncryption sequence of calls.
Remember to set Padding mode when using block mode of block ciphers.
Discuss this help topic in SecureBlackbox Forum