Skip to content

Crypto.cs | ZeroMemory

HackTheDev edited this page May 3, 2021 · 1 revision

This can be used to remove the encryption key from memory.

        [DllImport("KERNEL32.DLL", EntryPoint = "RtlZeroMemory")]
        public static extern bool ZeroMemory(IntPtr Destination, int Length);