I am using the EncryptFile function to encrypt files and directories but I get as result, the same file or folder with a green text name.
Am I missing something? Where is the encrypted data?
BOOL res= EncryptFile( L"D:\\test");
qDebug()<<"res "<<res<<" last error "<<GetLastError();
It uses Windows Encrypted File System that uses your user’s login details as encryption keys.
The encryption is transparent and when the current Windows Principal opens a file, his/her security details are used to unencrypt its contents.