MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / RemotePassword

Method RemotePassword

src/auth/SecureRemotePassword/srp.cpp:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69RemotePassword::RemotePassword()
70 : group(RemoteGroup::getGroup())
71{
72#if SRP_DEBUG > 1
73 privateKey = BigInteger("60975527035CF2AD1989806F0407210BC81EDC04E2762A56AFD529DDDA2D4393");
74#else
75 privateKey.random(RemotePassword::SRP_KEY_SIZE);
76#endif
77 privateKey %= group->prime;
78}
79
80BigInteger RemotePassword::getUserHash(const char* account, const char* salt, const char* password)
81{

Callers

nothing calls this directly

Calls 2

BigIntegerClass · 0.85
randomMethod · 0.80

Tested by

no test coverage detected