computeServerEvidence method

  1. @override
BigInt computeServerEvidence(
  1. SRP6CryptoParams cryptoParams,
  2. SRP6ServerEvidenceContext ctx
)
override

Implementation

@override
BigInt computeServerEvidence(
    SRP6CryptoParams cryptoParams, SRP6ServerEvidenceContext ctx) {
  return HexHashedRoutines.hashServerEvidence(
      cryptoParams.getMessageDigestInstance(),
      BigIntHelper.toHex(ctx.A),
      BigIntHelper.toHex(ctx.m1),
      BigIntHelper.toHex(ctx.S));
}