108 lines
4.0 KiB
C#
108 lines
4.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Security.Cryptography
|
|
{
|
|
/// <summary>Computes the <see cref="T:System.Security.Cryptography.SHA1" /> hash for the input data using the managed library.</summary>
|
|
// Token: 0x0200040B RID: 1035
|
|
[Token(Token = "0x200040B")]
|
|
[ComVisible(true)]
|
|
public class SHA1Managed : SHA1
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.SHA1Managed" /> class.</summary>
|
|
/// <exception cref="T:System.InvalidOperationException">This class is not compliant with the FIPS algorithm.</exception>
|
|
// Token: 0x060022EB RID: 8939 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60022EB")]
|
|
[Address(RVA = "0x2DFC140", Offset = "0x2DFAF40", VA = "0x182DFC140")]
|
|
public SHA1Managed()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes an instance of <see cref="T:System.Security.Cryptography.SHA1Managed" />.</summary>
|
|
// Token: 0x060022EC RID: 8940 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60022EC")]
|
|
[Address(RVA = "0x2DFB6D0", Offset = "0x2DFA4D0", VA = "0x182DFB6D0", Slot = "18")]
|
|
public override void Initialize()
|
|
{
|
|
}
|
|
|
|
/// <summary>Routes data written to the object into the <see cref="T:System.Security.Cryptography.SHA1Managed" /> 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: 0x060022ED RID: 8941 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60022ED")]
|
|
[Address(RVA = "0x2DFB6B0", Offset = "0x2DFA4B0", VA = "0x182DFB6B0", Slot = "19")]
|
|
protected override void HashCore(byte[] rgb, int ibStart, int cbSize)
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns the computed <see cref="T:System.Security.Cryptography.SHA1" /> hash value after all data has been written to the object.</summary>
|
|
/// <returns>The computed hash code.</returns>
|
|
// Token: 0x060022EE RID: 8942 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60022EE")]
|
|
[Address(RVA = "0x2DFB6C0", Offset = "0x2DFA4C0", VA = "0x182DFB6C0", Slot = "20")]
|
|
protected override byte[] HashFinal()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060022EF RID: 8943 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60022EF")]
|
|
[Address(RVA = "0x2DB0FB0", Offset = "0x2DAFDB0", VA = "0x182DB0FB0")]
|
|
private void InitializeState()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060022F0 RID: 8944 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60022F0")]
|
|
[Address(RVA = "0x2DFBFA0", Offset = "0x2DFADA0", VA = "0x182DFBFA0")]
|
|
private void _HashData(byte[] partIn, int ibStart, int cbSize)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060022F1 RID: 8945 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60022F1")]
|
|
[Address(RVA = "0x2DFBD50", Offset = "0x2DFAB50", VA = "0x182DFBD50")]
|
|
private byte[] _EndHash()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060022F2 RID: 8946 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60022F2")]
|
|
[Address(RVA = "0x2DFB760", Offset = "0x2DFA560", VA = "0x182DFB760")]
|
|
private unsafe static void SHATransform(uint* expandedBuffer, uint* state, byte* block)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060022F3 RID: 8947 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60022F3")]
|
|
[Address(RVA = "0x2DFB720", Offset = "0x2DFA520", VA = "0x182DFB720")]
|
|
private unsafe static void SHAExpand(uint* x)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040013C5 RID: 5061
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40013C5")]
|
|
private byte[] _buffer;
|
|
|
|
// Token: 0x040013C6 RID: 5062
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40013C6")]
|
|
private long _count;
|
|
|
|
// Token: 0x040013C7 RID: 5063
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40013C7")]
|
|
private uint[] _stateSHA1;
|
|
|
|
// Token: 0x040013C8 RID: 5064
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40013C8")]
|
|
private uint[] _expandedBuffer;
|
|
}
|
|
}
|