public class Argon2BytesGenerator
extends java.lang.Object
Constructor and Description |
---|
Argon2BytesGenerator() |
Modifier and Type | Method and Description |
---|---|
int |
generateBytes(byte[] password,
byte[] out) |
int |
generateBytes(byte[] password,
byte[] out,
int outOff,
int outLen) |
int |
generateBytes(char[] password,
byte[] out) |
int |
generateBytes(char[] password,
byte[] out,
int outOff,
int outLen) |
void |
init(Argon2Parameters parameters)
Initialise the Argon2BytesGenerator from the parameters.
|
public void init(Argon2Parameters parameters)
parameters
- Argon2 configuration.public int generateBytes(char[] password, byte[] out)
public int generateBytes(char[] password, byte[] out, int outOff, int outLen)
public int generateBytes(byte[] password, byte[] out)
public int generateBytes(byte[] password, byte[] out, int outOff, int outLen)