Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Utilities
public Srp6Utilities()
Computes the final Key according to the standard routine: Key = H(S).
public static BigInteger CalculateM1(IDigest digest, BigInteger N, BigInteger A, BigInteger B, BigInteger S)
Computes the client evidence message (M1) according to the standard routine: M1 = H( A | B | S ).
public static BigInteger CalculateM2(IDigest digest, BigInteger N, BigInteger A, BigInteger M1, BigInteger 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)
public static BigInteger CalculateX(IDigest digest, BigInteger N, ReadOnlySpan<byte> salt, ReadOnlySpan<byte> identity, ReadOnlySpan<byte> password)
public static BigInteger GeneratePrivateValue(IDigest digest, BigInteger N, BigInteger g, SecureRandom random)