How-to write a password-safe class ?
This question follows a suggestion made by @sharptooth in this related question. Can std::string be tweaked so that it becomes password-safe ? If not, what would be the guidelines to write a password-handling class (thus a class that takes big care about what it writes to memory and clears it before destruction) ? ...