public final class Argon2Factory
extends java.lang.Object
Argon2 instances.| Modifier and Type | Class and Description |
|---|---|
static class |
Argon2Factory.Argon2Types
Argon2 type.
|
| Modifier and Type | Method and Description |
|---|---|
static Argon2 |
create()
Creates a new
Argon2 instance. |
static Argon2 |
create(Argon2Factory.Argon2Types type)
Creates a new
Argon2 instance with the given type. |
static Argon2 |
create(Argon2Factory.Argon2Types type,
int saltLen,
int hashLen)
Creates a new
Argon2 instance with the given type. |
static Argon2 |
create(int saltLen,
int hashLen)
Creates a new
Argon2 instance. |
public static Argon2 create(int saltLen, int hashLen)
Argon2 instance.saltLen - Byte length of salt.hashLen - Byte length of hash.public static Argon2 create(Argon2Factory.Argon2Types type)
Argon2 instance with the given type.type - Argon2 type.public static Argon2 create(Argon2Factory.Argon2Types type, int saltLen, int hashLen)
Argon2 instance with the given type.type - Argon2 type.saltLen - Byte length of salt.hashLen - Byte length of hash.