computeClientEvidence method

  1. @override
BigInt computeClientEvidence(
  1. SRP6CryptoParams cryptoParams,
  2. SRP6ClientEvidenceContext ctx
)
override

Implementation

@override
BigInt computeClientEvidence(
    SRP6CryptoParams cryptoParams, SRP6ClientEvidenceContext ctx) {
  return HexHashedRoutines.hashClientEvidence(
      cryptoParams.getMessageDigestInstance(),
      BigIntHelper.toHex(ctx.A),
      BigIntHelper.toHex(ctx.B),
      BigIntHelper.toHex(ctx.S));
}