Package com.bitbucket.thinbus.srp6.js
Browser aligned tools for Secure Remote Password (SRP-6a) authentication.
Provides Nimbus SRP6ServerSession classes which matches the Javascript implementation.
Also provides a SRP6ClientSession so that Java clients can authenticated to the same server session.
Also provides a HexHashedVerifierGenerator class which can be used for user registration of password reset from java to be able to email out a temporary password.
See the Java and Javascript unit tests in the source repo for examples of all the functionality.
- Author:
- Simon Massey
-
Class Summary Class Description HexHashedClientEvidenceRoutine Custom routine interface for computing the client evidence message 'M1'.HexHashedRoutines Secure Remote Password (SRP-6a) hashing routine for Java compatible with browser implementations by using hashing of string concatenated hex strings.HexHashedServerEvidenceRoutine Custom routine interface for computing the server evidence message 'M1'.HexHashedVerifierGenerator Generates a SRP6 verifier.HexHashedXRoutine OpenSSLCryptoConfigConverter A class to parse the output of 'openssl dhparam -text bits' where bits is the prime number bit length.SRP6JavaClientSession If you want to have both Java clients and JavaScript clients authenticate to the same Java server then this class is a workalike to the JavaScript client session.SRP6JavaClientSessionSHA1 SRP6JavaClientSessionSHA256 SRP6JavascriptServerSession SRP6JavascriptServerSessionSHA1 Wrapper of a server session matching the Javascript client session SRP6JavascriptClientSession_N256_SHA1.SRP6JavascriptServerSessionSHA256 Wrapper of a server session matching the Javascript client session SRP6JavascriptClientSession_N1024_SHA256.