Package com.github.glusk.srp6_variables

A collection of SRP-6 Variables that can be used to implement the SRP-6 protocol.

Here is a full list:

 N    A large safe prime (N = 2q+1, where q is prime)
      All arithmetic is done modulo N.
 g    A generator modulo N
 k    Multiplier parameter (k = H(N, g) in SRP-6a, k = 3 for legacy SRP-6)
 s    User's salt
 u    Random scrambling parameter
 a,b  Ephemeral private keys, generated randomly and not publicly revealed
 A,B  Corresponding public keys
 x    Private key derived from the password and salt
 v    Password verifier
 ---
 M1,M2  Proofs of session key
 S      Shared secret (also "premaster secret")
 K      Session key
 

We can roughly divide the variables into 2 groups:

.