<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Utilities

public class Srp6Utilities
public Srp6Utilities()

public static BigInteger CalculateK(IDigest digest, BigInteger N, BigInteger g)

public static BigInteger CalculateKey(IDigest digest, BigInteger N, BigInteger S)

Computes the final Key according to the standard routine: Key = H(S).

Computes the client evidence message (M1) according to the standard routine: M1 = H( A | B | S ).

Computes the server evidence message (M2) according to the standard routine: M2 = H( A | M1 | S ).

public static BigInteger CalculateX(IDigest digest, BigInteger N, byte[] salt, byte[] identity, byte[] password)