Table of Contents

Class KdfCounterBytesGenerator

Namespace
Org.BouncyCastle.Crypto.Generators
Assembly
BouncyCastle.Cryptography.dll
public sealed class KdfCounterBytesGenerator : IMacDerivationFunction, IDerivationFunction
Inheritance
KdfCounterBytesGenerator
Implements
Inherited Members

Constructors

KdfCounterBytesGenerator(IMac)

public KdfCounterBytesGenerator(IMac prf)

Parameters

prf IMac

Properties

Digest

The message digest used as the basis for the function.

public IDigest Digest { get; }

Property Value

IDigest

Mac

public IMac Mac { get; }

Property Value

IMac

Methods

GenerateBytes(byte[], int, int)

public int GenerateBytes(byte[] output, int outOff, int length)

Parameters

output byte[]
outOff int
length int

Returns

int

GenerateBytes(Span<byte>)

public int GenerateBytes(Span<byte> output)

Parameters

output Span<byte>

Returns

int

Init(IDerivationParameters)

public void Init(IDerivationParameters param)

Parameters

param IDerivationParameters