EP_CryptEncryptBufferEx
EP_CryptEncryptBufferEx encrypts a buffer with the defined key.
Parameters
- InBuffer - a pointer to the input memory buffer for encrypting.
- OutBuffer - a pointer to the output memory buffer for encrypting.
- Size - the size of the memory buffer.
- Key - a pointer to the buffer that will be used as a key for encryption.
- KeySize - the size of the key memory buffer.
Return Value
The function does not return value.
Definition
Show/Hide C++ function definition
extern "C" __declspec( dllimport ) __stdcall void EP_CryptEncryptBufferEx( byte* InBuffer, byte* OutBuffer, int Size, byte* Key, int KeySize);
Show/Hide Delphi function definition
procedure EP_CryptEncryptBufferEx(InBuffer, OutBuffer : pointer; Size : Cardinal; Key : pointer; KeySize : Cardinal); stdcall;
Show/Hide C# (.NET) function definition
public class Enigma_IDE
{
[DllImport("enigma_ide.dll", CallingConvention = CallingConvention.StdCall)]
public static extern void EP_CryptEncryptBufferEx(IntPtr InBuffer, IntPtr OutBuffer, int Size, IntPtr Key, int KeySize);
}
See function examples in the installation folder, Examples\CryptBuffer subfolder.