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

Method computeVerifier

src/auth/SecureRemotePassword/srp.cpp:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98BigInteger RemotePassword::computeVerifier(const string& account, const string& salt, const string& password)
99{
100 BigInteger x(getUserHash(account.c_str(), salt.c_str(), password.c_str()));
101 return group->generator.modPow(x, group->prime);
102}
103
104void RemotePassword::genClientKey(string& pubkey)
105{

Callers 2

executeMethod · 0.80
runTestFunction · 0.80

Calls 2

modPowMethod · 0.80
c_strMethod · 0.45

Tested by 1

runTestFunction · 0.64