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

Assembly: System.Security.Cryptography

Inheritance: object → MaskGenerationMethod

Represents the abstract class from which all mask generator algorithms must derive.

Methods

public byte[]
GenerateMask​(byte[] rgbSeed, int cbReturn)
rgbSeed The random seed to use to compute 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.
When overridden in a derived class, generates a mask with the specified length using the specified random seed.
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