SecureString

A std::string that keeps its contents in locked, cleared-on-free memory.

Synopsis

Declared in <support/allocators/secure.h>

typedef std::basic_string<char, std::char_traits<char>, secure_allocator<char>> SecureString;