generateClientCredentials method

  1. @override
BigInt? generateClientCredentials(
  1. Uint8List salt,
  2. Uint8List identity,
  3. Uint8List password
)
override

Generates the client's credentials that are to be sent to the server. @return The client's public value

Implementation

@override
BigInt? generateClientCredentials(
    Uint8List salt, Uint8List identity, Uint8List password) {
  x = SRP6Util.calculateX(digest, N, salt, identity, password);
  a = selectPrivateValue();
  A = g.modPow(a!, N);
  return A;
}