EP_CryptEncryptBufferEx
EP_CryptEncryptBufferEx 使用定义好的密钥加密内容。
参数
- InBuffer - 加密输入内容。
- OutBuffer - 输出加密后的内容。
- Size - 内容在内存中的大小。
- Key - 加密使用的密钥。
- KeySize - 密钥内容在内存中的大小。
返回值
函数无返回值。
定义
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);
}
可以在安装文件夹下 Examples\CryptBuffer 子文件夹里查看函数使用实例。