-
-
Constructor Summary
Constructors
-
Method Summary
byte[]
void
init(byte[] salt,
int iteration,
int type,
byte[] additional,
byte[] secret,
int memory,
int parallelism,
int version)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
init
public void init(byte[] salt,
int iteration,
int type,
byte[] additional,
byte[] secret,
int memory,
int parallelism,
int version)
throws Exception
- Specified by:
init
in interface Argon2
- Throws:
Exception
-
getKey
public byte[] getKey(byte[] pass,
int size)
- Specified by:
getKey
in interface KDF