using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Computes a Message Authentication Code (MAC) using for the input data .
// Token: 0x0200040F RID: 1039
[Token(Token = "0x200040F")]
[ComVisible(true)]
public class MACTripleDES : KeyedHashAlgorithm
{
/// Initializes a new instance of the class.
// Token: 0x060023F7 RID: 9207 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023F7")]
[Address(RVA = "0xC0CE20", Offset = "0xC0BE20", VA = "0x180C0CE20")]
public MACTripleDES()
{
}
/// Initializes a new instance of the class with the specified key data.
/// The secret key for encryption.
/// The parameter is .
// Token: 0x060023F8 RID: 9208 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023F8")]
[Address(RVA = "0xC0CC10", Offset = "0xC0BC10", VA = "0x180C0CC10")]
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: 0x060023F9 RID: 9209 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023F9")]
[Address(RVA = "0xC0CC60", Offset = "0xC0BC60", VA = "0x180C0CC60")]
public MACTripleDES(string strTripleDES, byte[] rgbKey)
{
}
/// Initializes an instance of .
// Token: 0x060023FA RID: 9210 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023FA")]
[Address(RVA = "0xC0CC00", Offset = "0xC0BC00", VA = "0x180C0CC00", 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: 0x17000520 RID: 1312
// (get) Token: 0x060023FB RID: 9211 RVA: 0x00016E78 File Offset: 0x00015078
// (set) Token: 0x060023FC RID: 9212 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000520")]
[ComVisible(false)]
public PaddingMode Padding
{
[Token(Token = "0x60023FB")]
[Address(RVA = "0xC0CF80", Offset = "0xC0BF80", VA = "0x180C0CF80")]
get
{
return (PaddingMode)0;
}
[Token(Token = "0x60023FC")]
[Address(RVA = "0xC0CFB0", Offset = "0xC0BFB0", VA = "0x180C0CFB0")]
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: 0x060023FD RID: 9213 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023FD")]
[Address(RVA = "0xC0C940", Offset = "0xC0B940", VA = "0x180C0C940", 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: 0x060023FE RID: 9214 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60023FE")]
[Address(RVA = "0xC0CAB0", Offset = "0xC0BAB0", VA = "0x180C0CAB0", 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: 0x060023FF RID: 9215 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023FF")]
[Address(RVA = "0xC0C870", Offset = "0xC0B870", VA = "0x180C0C870", Slot = "17")]
protected override void Dispose(bool disposing)
{
}
// Token: 0x04001427 RID: 5159
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001427")]
private ICryptoTransform m_encryptor;
// Token: 0x04001428 RID: 5160
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001428")]
private CryptoStream _cs;
// Token: 0x04001429 RID: 5161
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4001429")]
private TailStream _ts;
// Token: 0x0400142A RID: 5162
[Token(Token = "0x400142A")]
private const int m_bitsPerByte = 8;
// Token: 0x0400142B RID: 5163
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400142B")]
private int m_bytesPerBlock;
// Token: 0x0400142C RID: 5164
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400142C")]
private TripleDES des;
}
}