I need to store sensitive information (a symmetric encryption key that I want to keep private) in my C++ application. The simple approach is to do this:
std::
Try this. The source code explains how to encrypt and decrypt on the fly all strings in a given Visual Studio c++ project.