Table of Contents

Class Argon2BytesGenerator

Namespace
Org.BouncyCastle.Crypto.Generators
Assembly
BouncyCastle.Cryptography.dll
public sealed class Argon2BytesGenerator
Inheritance
Argon2BytesGenerator
Inherited Members

Constructors

Argon2BytesGenerator()

public Argon2BytesGenerator()

Argon2BytesGenerator(TaskFactory)

Initializes a new Argon2BytesGenerator with an optional TaskFactory.

public Argon2BytesGenerator(TaskFactory taskFactory)

Parameters

taskFactory TaskFactory

The TaskFactory that (if not null) will be used for parallel execution when parallelism > 1.

Methods

GenerateBytes(byte[], byte[])

public int GenerateBytes(byte[] password, byte[] output)

Parameters

password byte[]
output byte[]

Returns

int

GenerateBytes(byte[], byte[], int, int)

public int GenerateBytes(byte[] password, byte[] output, int outOff, int outLen)

Parameters

password byte[]
output byte[]
outOff int
outLen int

Returns

int

GenerateBytes(char[], byte[])

public int GenerateBytes(char[] password, byte[] output)

Parameters

password char[]
output byte[]

Returns

int

GenerateBytes(char[], byte[], int, int)

public int GenerateBytes(char[] password, byte[] output, int outOff, int outLen)

Parameters

password char[]
output byte[]
outOff int
outLen int

Returns

int

Init(Argon2Parameters)

public void Init(Argon2Parameters parameters)

Parameters

parameters Argon2Parameters