EP_CryptEncryptBuffer
EP_CryptEncryptBuffer 使用定义好的密钥加密内容。
参数
- Buffer - 加密内存中的内容。
- Size - 内存中数据大小。
- Key - 转换成ANSI,空字符串也将作为密钥进行加密。
返回值
函数无返回值。
定义
Show/Hide C++ function definition
extern "C" __declspec( dllimport ) __stdcall void EP_CryptEncryptBuffer( byte* Buffer, int Size, char* Key);
Show/Hide Delphi function definition
procedure EP_CryptEncryptBuffer(Buffer : pointer; Size : Cardinal; Key : PAnsiChar); stdcall;
Show/Hide C# (.NET) function definition
public class Enigma_IDE
{
[DllImport("enigma_ide.dll", CallingConvention = CallingConvention.StdCall)]
public static extern void EP_CryptEncryptBuffer(IntPtr Buffer, int Size, string Key);
}
可以在安装文件夹下 Examples\CryptBuffer 子文件夹里查看函数实例。