Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/MaskGenerationMethod.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

32 lines
1.3 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Represents the abstract class from which all mask generator algorithms must derive.</summary>
// Token: 0x02000411 RID: 1041
[Token(Token = "0x2000411")]
[ComVisible(true)]
public abstract class MaskGenerationMethod
{
/// <summary>When overridden in a derived class, generates a mask with the specified length using the specified random seed.</summary>
/// <param name="rgbSeed">The random seed to use to compute the mask.</param>
/// <param name="cbReturn">The length of the generated mask in bytes.</param>
/// <returns>A randomly generated mask whose length is equal to the <paramref name="cbReturn" /> parameter.</returns>
// Token: 0x0600240F RID: 9231
[Token(Token = "0x600240F")]
[Address(Slot = "4")]
[ComVisible(true)]
public abstract byte[] GenerateMask(byte[] rgbSeed, int cbReturn);
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.MaskGenerationMethod" /> class.</summary>
// Token: 0x06002410 RID: 9232 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002410")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected MaskGenerationMethod()
{
}
}
}