using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Computes a Message Authentication Code (MAC) using for the input data .
// Token: 0x020003F3 RID: 1011
[Token(Token = "0x20003F3")]
[ComVisible(true)]
public class MACTripleDES : KeyedHashAlgorithm
{
/// Initializes a new instance of the class.
// Token: 0x060021EB RID: 8683 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021EB")]
[Address(RVA = "0x2DAB150", Offset = "0x2DA9F50", VA = "0x182DAB150")]
public MACTripleDES()
{
}
/// Initializes a new instance of the class with the specified key data.
/// The secret key for encryption.
/// The parameter is .
// Token: 0x060021EC RID: 8684 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021EC")]
[Address(RVA = "0x2DAAF40", Offset = "0x2DA9D40", VA = "0x182DAAF40")]
public MACTripleDES(byte[] rgbKey)
{
}
/// Initializes a new instance of the class with the specified key data and using the specified implementation of .
/// The name of the implementation to use.
/// The secret key for encryption.
/// The parameter is .
/// The parameter is not a valid name of a implementation.
// Token: 0x060021ED RID: 8685 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021ED")]
[Address(RVA = "0x2DAAF90", Offset = "0x2DA9D90", VA = "0x182DAAF90")]
public MACTripleDES(string strTripleDES, byte[] rgbKey)
{
}
/// Initializes an instance of .
// Token: 0x060021EE RID: 8686 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021EE")]
[Address(RVA = "0x1208C20", Offset = "0x1207A20", VA = "0x181208C20", Slot = "18")]
public override void Initialize()
{
}
/// Gets or sets the padding mode used in the hashing algorithm.
/// The padding mode used in the hashing algorithm.
/// The property cannot be set because the padding mode is invalid.
// Token: 0x170004A9 RID: 1193
// (get) Token: 0x060021EF RID: 8687 RVA: 0x00014AA8 File Offset: 0x00012CA8
// (set) Token: 0x060021F0 RID: 8688 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004A9")]
[ComVisible(false)]
public PaddingMode Padding
{
[Token(Token = "0x60021EF")]
[Address(RVA = "0x2DAB2B0", Offset = "0x2DAA0B0", VA = "0x182DAB2B0")]
get
{
return (PaddingMode)0;
}
[Token(Token = "0x60021F0")]
[Address(RVA = "0x2DAB2E0", Offset = "0x2DAA0E0", VA = "0x182DAB2E0")]
set
{
}
}
/// Routes data written to the object into the encryptor for computing the Message Authentication Code (MAC).
/// The input data.
/// The offset into the byte array from which to begin using data.
/// The number of bytes in the array to use as data.
// Token: 0x060021F1 RID: 8689 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021F1")]
[Address(RVA = "0x2DAAC80", Offset = "0x2DA9A80", VA = "0x182DAAC80", Slot = "19")]
protected override void HashCore(byte[] rgbData, int ibStart, int cbSize)
{
}
/// Returns the computed Message Authentication Code (MAC) after all data is written to the object.
/// The computed MAC.
// Token: 0x060021F2 RID: 8690 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60021F2")]
[Address(RVA = "0x2DAADF0", Offset = "0x2DA9BF0", VA = "0x182DAADF0", Slot = "20")]
protected override byte[] HashFinal()
{
return null;
}
/// Releases the resources used by the instance.
///
/// if the method is called from an implementation; otherwise, .
// Token: 0x060021F3 RID: 8691 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021F3")]
[Address(RVA = "0x2DAABB0", Offset = "0x2DA99B0", VA = "0x182DAABB0", Slot = "17")]
protected override void Dispose(bool disposing)
{
}
// Token: 0x04001364 RID: 4964
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001364")]
private ICryptoTransform m_encryptor;
// Token: 0x04001365 RID: 4965
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001365")]
private CryptoStream _cs;
// Token: 0x04001366 RID: 4966
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4001366")]
private TailStream _ts;
// Token: 0x04001367 RID: 4967
[Token(Token = "0x4001367")]
private const int m_bitsPerByte = 8;
// Token: 0x04001368 RID: 4968
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4001368")]
private int m_bytesPerBlock;
// Token: 0x04001369 RID: 4969
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4001369")]
private TripleDES des;
}
}