hownot2code.com
Use dedicated functions to clear private data
You should use special memory clearing functions that the compiler is not allowed to remove for its optimization purposes. Visual Studio, for instance, offers the RtlSecureZeroMemory function; and…