CppSecurity  1.1.1.0
C++ Security Library
Public Member Functions | List of all members
std::password Class Reference

Password string. More...

#include <password.h>

Inheritance diagram for std::password:

Public Member Functions

 ~password ()
 
void clear () noexcept
 

Detailed Description

Password string.

Password string extends std::string with a secure zero memory destructor which will fill string memory with zeros to avoid keep password in the wasted process memory.

Not thread-safe.

Examples
cipher_decrypt.cpp, cipher_encrypt.cpp, google_authenticator.cpp, password_hashing_argon2.cpp, password_hashing_bcrypt.cpp, password_hashing_pbkdf2.cpp, and password_hashing_scrypt.cpp.

Definition at line 52 of file password.h.

Constructor & Destructor Documentation

◆ ~password()

std::password::~password ( )
inline

Definition at line 56 of file password.h.

Member Function Documentation

◆ clear()

void std::password::clear ( )
inlinenoexcept

Definition at line 57 of file password.h.


The documentation for this class was generated from the following file: