Class Argon2BytesGenerator
- java.lang.Object
 - 
- org.bouncycastle.crypto.generators.Argon2BytesGenerator
 
 
- 
public class Argon2BytesGenerator extends java.lang.ObjectArgon2 PBKDF - Based on the results of https://password-hashing.net/ and https://www.ietf.org/archive/id/draft-irtf-cfrg-argon2-03.txt 
- 
- 
Constructor Summary
Constructors Constructor Description Argon2BytesGenerator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgenerateBytes(byte[] password, byte[] out)intgenerateBytes(byte[] password, byte[] out, int outOff, int outLen)intgenerateBytes(char[] password, byte[] out)intgenerateBytes(char[] password, byte[] out, int outOff, int outLen)voidinit(Argon2Parameters parameters)Initialise the Argon2BytesGenerator from the parameters. 
 - 
 
- 
- 
Method Detail
- 
init
public void init(Argon2Parameters parameters)
Initialise the Argon2BytesGenerator from the parameters.- Parameters:
 parameters- Argon2 configuration.
 
- 
generateBytes
public int generateBytes(char[] password, byte[] out) 
- 
generateBytes
public int generateBytes(char[] password, byte[] out, int outOff, int outLen) 
- 
generateBytes
public int generateBytes(byte[] password, byte[] out) 
- 
generateBytes
public int generateBytes(byte[] password, byte[] out, int outOff, int outLen) 
 - 
 
 -