141 lines
5.1 KiB
C#
141 lines
5.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Security.Cryptography
|
|
{
|
|
/// <summary>Computes the <see cref="T:System.Security.Cryptography.RIPEMD160" /> hash for the input data using the managed library.</summary>
|
|
// Token: 0x02000402 RID: 1026
|
|
[Token(Token = "0x2000402")]
|
|
[ComVisible(true)]
|
|
public class RIPEMD160Managed : RIPEMD160
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RIPEMD160" /> class.</summary>
|
|
/// <exception cref="T:System.InvalidOperationException">The policy is not compliant with the FIPS algorithm.</exception>
|
|
// Token: 0x0600226F RID: 8815 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600226F")]
|
|
[Address(RVA = "0x2DB3670", Offset = "0x2DB2470", VA = "0x182DB3670")]
|
|
public RIPEMD160Managed()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes an instance of the <see cref="T:System.Security.Cryptography.RIPEMD160Managed" /> class using the managed library.</summary>
|
|
// Token: 0x06002270 RID: 8816 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002270")]
|
|
[Address(RVA = "0x2DB1090", Offset = "0x2DAFE90", VA = "0x182DB1090", Slot = "18")]
|
|
public override void Initialize()
|
|
{
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, routes data written to the object into the <see cref="T:System.Security.Cryptography.RIPEMD160" /> hash algorithm for computing the hash.</summary>
|
|
/// <param name="rgb">The input data.</param>
|
|
/// <param name="ibStart">The offset into the byte array from which to begin using data.</param>
|
|
/// <param name="cbSize">The number of bytes in the array to use as data.</param>
|
|
// Token: 0x06002271 RID: 8817 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002271")]
|
|
[Address(RVA = "0x2DB0F90", Offset = "0x2DAFD90", VA = "0x182DB0F90", Slot = "19")]
|
|
protected override void HashCore(byte[] rgb, int ibStart, int cbSize)
|
|
{
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, finalizes the hash computation after the last data is processed by the cryptographic stream object.</summary>
|
|
/// <returns>The computed hash code in a byte array.</returns>
|
|
// Token: 0x06002272 RID: 8818 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002272")]
|
|
[Address(RVA = "0x2DB0FA0", Offset = "0x2DAFDA0", VA = "0x182DB0FA0", Slot = "20")]
|
|
protected override byte[] HashFinal()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06002273 RID: 8819 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002273")]
|
|
[Address(RVA = "0x2DB0FB0", Offset = "0x2DAFDB0", VA = "0x182DB0FB0")]
|
|
private void InitializeState()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002274 RID: 8820 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002274")]
|
|
[Address(RVA = "0x2DB34D0", Offset = "0x2DB22D0", VA = "0x182DB34D0")]
|
|
private void _HashData(byte[] partIn, int ibStart, int cbSize)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002275 RID: 8821 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002275")]
|
|
[Address(RVA = "0x2DB3280", Offset = "0x2DB2080", VA = "0x182DB3280")]
|
|
private byte[] _EndHash()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06002276 RID: 8822 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002276")]
|
|
[Address(RVA = "0x2DB10F0", Offset = "0x2DAFEF0", VA = "0x182DB10F0")]
|
|
private unsafe static void MDTransform(uint* blockDWords, uint* state, byte* block)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002277 RID: 8823 RVA: 0x00014D30 File Offset: 0x00012F30
|
|
[Token(Token = "0x6002277")]
|
|
[Address(RVA = "0x1B448F0", Offset = "0x1B436F0", VA = "0x181B448F0")]
|
|
private static uint F(uint x, uint y, uint z)
|
|
{
|
|
return 0U;
|
|
}
|
|
|
|
// Token: 0x06002278 RID: 8824 RVA: 0x00014D48 File Offset: 0x00012F48
|
|
[Token(Token = "0x6002278")]
|
|
[Address(RVA = "0x1B448D0", Offset = "0x1B436D0", VA = "0x181B448D0")]
|
|
private static uint G(uint x, uint y, uint z)
|
|
{
|
|
return 0U;
|
|
}
|
|
|
|
// Token: 0x06002279 RID: 8825 RVA: 0x00014D60 File Offset: 0x00012F60
|
|
[Token(Token = "0x6002279")]
|
|
[Address(RVA = "0x2DB0F80", Offset = "0x2DAFD80", VA = "0x182DB0F80")]
|
|
private static uint H(uint x, uint y, uint z)
|
|
{
|
|
return 0U;
|
|
}
|
|
|
|
// Token: 0x0600227A RID: 8826 RVA: 0x00014D78 File Offset: 0x00012F78
|
|
[Token(Token = "0x600227A")]
|
|
[Address(RVA = "0x1B448E0", Offset = "0x1B436E0", VA = "0x181B448E0")]
|
|
private static uint I(uint x, uint y, uint z)
|
|
{
|
|
return 0U;
|
|
}
|
|
|
|
// Token: 0x0600227B RID: 8827 RVA: 0x00014D90 File Offset: 0x00012F90
|
|
[Token(Token = "0x600227B")]
|
|
[Address(RVA = "0x2DB10E0", Offset = "0x2DAFEE0", VA = "0x182DB10E0")]
|
|
private static uint J(uint x, uint y, uint z)
|
|
{
|
|
return 0U;
|
|
}
|
|
|
|
// Token: 0x040013A3 RID: 5027
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40013A3")]
|
|
private byte[] _buffer;
|
|
|
|
// Token: 0x040013A4 RID: 5028
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40013A4")]
|
|
private long _count;
|
|
|
|
// Token: 0x040013A5 RID: 5029
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40013A5")]
|
|
private uint[] _stateMD160;
|
|
|
|
// Token: 0x040013A6 RID: 5030
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40013A6")]
|
|
private uint[] _blockDWords;
|
|
}
|
|
}
|