https://learn.microsoft.com/en-us/windows/win32/api/ntsecapi/nf-ntsecapi-lsaretrieveprivatedata?redirectedfrom=MSDN
LsaRetrievePrivateData function (ntsecapi.h) - Win32 apps | Microsoft Learn
Do not use the LSA private data functions for generic data encryption and decryption. Instead, use the CryptProtectData and CryptUnprotectData functions....
functionhappsmicrosoftlearn