Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Security.​Cryptography.​SP800108HmacCounterKdf

Assembly: System.Security.Cryptography

Inheritance: object → SP800108HmacCounterKdf

NIST SP 800-108 HMAC CTR Key-Based Key Derivation (KBKDF)

Methods

public byte[]
DeriveKey​(byte[] label, byte[] context, int derivedKeyLengthInBytes)
label The label that identifies the purpose for the derived key.
context The context containing information related to the derived key.
derivedKeyLengthInBytes The length of the derived key, in bytes.
Returns An array containing the derived key.
Derives a key of a specified length.
public byte[]
DeriveKey​(ReadOnlySpan`1 label, ReadOnlySpan`1 context, int derivedKeyLengthInBytes)
public void
DeriveKey​(ReadOnlySpan`1 label, ReadOnlySpan`1 context, Span`1 destination)
public byte[]
DeriveKey​(ReadOnlySpan`1 label, ReadOnlySpan`1 context, int derivedKeyLengthInBytes)
public void
DeriveKey​(ReadOnlySpan`1 label, ReadOnlySpan`1 context, Span`1 destination)
public byte[]
DeriveKey​(string label, string context, int derivedKeyLengthInBytes)
label The label that identifies the purpose for the derived key.
context The context containing information related to the derived key.
derivedKeyLengthInBytes The length of the derived key, in bytes.
Returns An array containing the derived key.
Derives a key of a specified length.
public void
Dispose​()
Releases all resources used by the current instance of <see cref="T:System.Security.Cryptography.SP800108HmacCounterKdf" /> .
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object