generateVerifier method

BigInt generateVerifier(
  1. Uint8List salt,
  2. Uint8List identity,
  3. Uint8List password
)

Creates a new SRP verifier salt The salt to use, generally should be large and random identity The user's identifying information (eg. username) password The user's password returns A new verifier for use in future SRP authentication

Implementation

BigInt generateVerifier(
    Uint8List salt, Uint8List identity, Uint8List password) {
  var x = SRP6Util.calculateX(digest, N, salt, identity, password);

  return g.modPow(x, N);
}