The discussion is, you are spending too much time and effort worrying about something that isn't really worth it. There are far more worrisome security issues than a pagefile, and corruption isn't really an issue. I can't say I've heard of that in a long long time.
It boils down to this. Your first option is to leave it alone and let Windows manage it. If you are using a small SSD and need more space, set it to a static size of 2 GB. Don't worry about clearing it on shutdown. Then go on using your system for it's intended purposes.