public class HexHashedVerifierGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.nimbusds.srp6.SRP6CryptoParams |
config |
| Constructor and Description |
|---|
HexHashedVerifierGenerator(String N,
String g,
String hashName) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateVerifier(String salt,
String identity,
String password)
Browser does string concat version of x = H(s | H(i | ":" | p)).
|
protected final com.nimbusds.srp6.SRP6CryptoParams config
public HexHashedVerifierGenerator(String N, String g, String hashName)
N - The large safe prime in radix10g - The safe prime generator in radix10hashName - The name of the hashing algorithm e.g. SHA256public String generateVerifier(String salt, String identity, String password)
salt - The random salt stored at user registrationidentity - The user usernamepassword - The user password. Note this should only ever be on java
clients and never sent to the java server.Copyright © 2015. All Rights Reserved.