Package | Description |
---|---|
com.ongres.scram.common | |
com.ongres.scram.common.stringprep |
Modifier and Type | Method | Description |
---|---|---|
static byte[] |
ScramFunctions.clientKey(ScramMechanism scramMechanism,
StringPreparation stringPreparation,
String password,
byte[] salt,
int iteration) |
Generates a client key from the password and salt.
|
static byte[] |
ScramFunctions.saltedPassword(ScramMechanism scramMechanism,
StringPreparation stringPreparation,
String password,
byte[] salt,
int iteration) |
Compute the salted password, based on the given SCRAM mechanism, the String preparation algorithm,
the provided salt and the number of iterations.
|
static byte[] |
ScramFunctions.serverKey(ScramMechanism scramMechanism,
StringPreparation stringPreparation,
String password,
byte[] salt,
int iteration) |
Generates a server key from the password and salt.
|
Modifier and Type | Class | Description |
---|---|---|
class |
StringPreparations |
Copyright © 2017–2018. All rights reserved.