Package de.bsvrz.sys.funclib.srp6


package de.bsvrz.sys.funclib.srp6
Secure Remote Password (SRP-6a) protocol implementation.

Features:

  • Convenient client and server-side session classes, with tracking of the current authentication state.
  • Convenient verifier 'v' generator.
  • Allows selection of preferred 'N' and 'g' crypto parameters, hash function 'H' and session timeouts.
  • Includes a set of pre-computed safe primes 'N' of various bitsizes (256-bit, 512-bit, etc.)
  • Interfaces to allow definition of custom routines for the password key 'x', the server evidence message 'M1' and the client evidence message 'M2'.
  • No external package dependencies.

The routines for computing the various SRP-6a variables and messages are described in SRP6Routines.

This product uses the 'Secure Remote Password' cryptographic authentication system developed by Tom Wu (tjw@CS.Stanford.EDU).