CryptEncrypt(3w)
NAME
CryptEncrypt (ADVAPI32.@)
SYNOPSIS
BOOL CryptEncrypt ( HCRYPTKEY hKey, HCRYPTHASH hHash, BOOL Final, DWORD dwFlags, BYTE* pbData, DWORD* pdwDataLen, DWORD dwBufLen )
DESCRIPTION
Encrypts data.
PARAMS
hKey [In] Handle to the encryption key.
hHash [In] Handle to a hash object.
Final [In] TRUE if this is the last section to encrypt.
dwFlags [In] Can be CRYPT_OAEP.
pbData [In/Out] Data to be encrypted. Contains encrypted data after
call.
pdwDataLen [In/Out] Length of the data to encrypt. Contains the length
of the encrypted data after call.
dwBufLen [In] Length of the input pbData buffer.
RETURNS
Success: TRUE
Failure: FALSE.
NOTES
If pbData is NULL, CryptEncrypt determines stores the number of bytes
required for the returned data in pdwDataLen.
IMPLEMENTATION
Defined in "wincrypt.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/advapi32/crypt.c".
- Debug channel "crypt".