Search the Community
Showing results for tags 'cryptencrypt'.
Hello All, I have the following issue with using the _Crypt_EncryptData autoit function which I understand is merely a wrapper around the advapi dll's CryptEncrypt function. Part of the functionality of my script is to read a file in chunks(I cannot avoid that) encrypt the data and write it into a separate file on the disk. To read and write I use the _WinAPI_ReadFile and _WinAPI_WriteFile function. The buffer size usually is 1MB. Sometimes it's smaller, but never more than that. In order to verify the integrity of the resulting file I decrypt it with the sample script in the help for the _Cry