[DllImport(@"advapi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool CryptEncrypt(IntPtr hKey, IntPtr hHash, int Final, uint dwFlags, byte[] pbData, ref uint pdwDataLen, uint dwBufLen);
Declare Function CryptEncrypt Lib "advapi32.dll" (ByVal hkey As IntPtr, _
ByVal hHash As IntPtr, <MarshalAs(UnmanagedType.Bool)> ByVal final As Boolean, ByVal flags As Integer, _
ByVal data As Byte(), ByRef dataLen As Integer, ByVal bufferlen As Integer) _
As <MarshalAs(UnmanagedType.Bool)> Boolean
None.
Do you know one? Please contribute it!
The key's handle may be obtained by calling either of the CryptGenKey or CryptImportKey methods.
Please add some!
Please add some!