Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CPasswords.cpp File Reference
#include "CPasswords.hpp"
#include "core/CStringTools.hpp"
#include "core/CSystem.hpp"
#include "crypto/CEncryption.hpp"
#include <string>
Include dependency graph for CPasswords.cpp:

Functions

static std::string prvGetPasswordProgram (iv::eProgramCaller program)
 
static bool prvAskPassword (iv::eProgramCaller program, std::string *password)
 

Variables

static const std::string kPrvPasswordDiamarToolsSHA256
 
static const std::string kPrvPasswordNereidaToolsSHA256
 

Function Documentation

◆ prvAskPassword()

static bool prvAskPassword ( iv::eProgramCaller program,
std::string * password )
static

Private function that ask user to introduce password

Parameters
programProgram in execution
passwordEncoded user password (output param)
Returns
This function return TRUE if user has entry any password, otherwise return FALSE

◆ prvGetPasswordProgram()

static std::string prvGetPasswordProgram ( iv::eProgramCaller program)
static

Private function to get the program caller password

Parameters
programProgram in execution
Returns
program password to access hashcode

Variable Documentation

◆ kPrvPasswordDiamarToolsSHA256

const std::string kPrvPasswordDiamarToolsSHA256
static
Initial value:
=
"335124573aa061a106b5fad0b4af842938a6615638c8aea2ab4529a1ef478d66"

Hashcode password editDiamar

◆ kPrvPasswordNereidaToolsSHA256

const std::string kPrvPasswordNereidaToolsSHA256
static
Initial value:
=
"c21ad06e242dc58bfd2c3c0b3bd4c7d74286c48b2b70d9dd0cacd2f6edff46a5"

Hashcode password editNereida