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.​PKCS1MaskGenerationMethod

Assembly: System.Security.Cryptography

Inheritance: object → MaskGenerationMethod → PKCS1MaskGenerationMethod

Computes masks according to PKCS #1 for use by key exchange algorithms.

Properties

public string
HashName
Gets or sets the name of the hash algorithm type to use for generating the mask.

Methods

public byte[]
GenerateMask​(byte[] rgbSeed, int cbReturn)
rgbSeed The random seed to use for computing the mask.
cbReturn The length of the generated mask in bytes.
Returns A randomly generated mask whose length is equal to the <paramref name="cbReturn" /> parameter.
Generates and returns a mask from the specified random seed of the specified length.
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