m
This commit is contained in:
@@ -0,0 +1,167 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Computes the <see cref="T:System.Security.Cryptography.SHA256" /> hash for the input data using the managed library.</summary>
|
||||
// Token: 0x02000429 RID: 1065
|
||||
[Token(Token = "0x2000429")]
|
||||
[ComVisible(true)]
|
||||
public class SHA256Managed : SHA256
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.SHA256Managed" /> class using the managed library.</summary>
|
||||
/// <exception cref="T:System.InvalidOperationException">The Federal Information Processing Standards (FIPS) security setting is enabled. This implementation is not part of the Windows Platform FIPS-validated cryptographic algorithms.</exception>
|
||||
// Token: 0x06002503 RID: 9475 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002503")]
|
||||
[Address(RVA = "0x1031820", Offset = "0x1030820", VA = "0x181031820")]
|
||||
public SHA256Managed()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes an instance of <see cref="T:System.Security.Cryptography.SHA256Managed" />.</summary>
|
||||
// Token: 0x06002504 RID: 9476 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002504")]
|
||||
[Address(RVA = "0x1030A60", Offset = "0x102FA60", VA = "0x181030A60", 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.SHA256" /> 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: 0x06002505 RID: 9477 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002505")]
|
||||
[Address(RVA = "0x10308C0", Offset = "0x102F8C0", VA = "0x1810308C0", 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.</returns>
|
||||
// Token: 0x06002506 RID: 9478 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002506")]
|
||||
[Address(RVA = "0x10308D0", Offset = "0x102F8D0", VA = "0x1810308D0", Slot = "20")]
|
||||
protected override byte[] HashFinal()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002507 RID: 9479 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002507")]
|
||||
[Address(RVA = "0x10308E0", Offset = "0x102F8E0", VA = "0x1810308E0")]
|
||||
private void InitializeState()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002508 RID: 9480 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002508")]
|
||||
[Address(RVA = "0x10315D0", Offset = "0x10305D0", VA = "0x1810315D0")]
|
||||
private void _HashData(byte[] partIn, int ibStart, int cbSize)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002509 RID: 9481 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002509")]
|
||||
[Address(RVA = "0x1031380", Offset = "0x1030380", VA = "0x181031380")]
|
||||
private byte[] _EndHash()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600250A RID: 9482 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600250A")]
|
||||
[Address(RVA = "0x1030B90", Offset = "0x102FB90", VA = "0x181030B90")]
|
||||
private unsafe static void SHATransform(uint* expandedBuffer, uint* state, byte* block)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600250B RID: 9483 RVA: 0x00017328 File Offset: 0x00015528
|
||||
[Token(Token = "0x600250B")]
|
||||
[Address(RVA = "0x1030AC0", Offset = "0x102FAC0", VA = "0x181030AC0")]
|
||||
private static uint RotateRight(uint x, int n)
|
||||
{
|
||||
return 0U;
|
||||
}
|
||||
|
||||
// Token: 0x0600250C RID: 9484 RVA: 0x00017340 File Offset: 0x00015540
|
||||
[Token(Token = "0x600250C")]
|
||||
[Address(RVA = "0x10308B0", Offset = "0x102F8B0", VA = "0x1810308B0")]
|
||||
private static uint Ch(uint x, uint y, uint z)
|
||||
{
|
||||
return 0U;
|
||||
}
|
||||
|
||||
// Token: 0x0600250D RID: 9485 RVA: 0x00017358 File Offset: 0x00015558
|
||||
[Token(Token = "0x600250D")]
|
||||
[Address(RVA = "0x1030AB0", Offset = "0x102FAB0", VA = "0x181030AB0")]
|
||||
private static uint Maj(uint x, uint y, uint z)
|
||||
{
|
||||
return 0U;
|
||||
}
|
||||
|
||||
// Token: 0x0600250E RID: 9486 RVA: 0x00017370 File Offset: 0x00015570
|
||||
[Token(Token = "0x600250E")]
|
||||
[Address(RVA = "0x1031900", Offset = "0x1030900", VA = "0x181031900")]
|
||||
private static uint sigma_0(uint x)
|
||||
{
|
||||
return 0U;
|
||||
}
|
||||
|
||||
// Token: 0x0600250F RID: 9487 RVA: 0x00017388 File Offset: 0x00015588
|
||||
[Token(Token = "0x600250F")]
|
||||
[Address(RVA = "0x1031970", Offset = "0x1030970", VA = "0x181031970")]
|
||||
private static uint sigma_1(uint x)
|
||||
{
|
||||
return 0U;
|
||||
}
|
||||
|
||||
// Token: 0x06002510 RID: 9488 RVA: 0x000173A0 File Offset: 0x000155A0
|
||||
[Token(Token = "0x6002510")]
|
||||
[Address(RVA = "0x10312A0", Offset = "0x10302A0", VA = "0x1810312A0")]
|
||||
private static uint Sigma_0(uint x)
|
||||
{
|
||||
return 0U;
|
||||
}
|
||||
|
||||
// Token: 0x06002511 RID: 9489 RVA: 0x000173B8 File Offset: 0x000155B8
|
||||
[Token(Token = "0x6002511")]
|
||||
[Address(RVA = "0x1031310", Offset = "0x1030310", VA = "0x181031310")]
|
||||
private static uint Sigma_1(uint x)
|
||||
{
|
||||
return 0U;
|
||||
}
|
||||
|
||||
// Token: 0x06002512 RID: 9490 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002512")]
|
||||
[Address(RVA = "0x1030AE0", Offset = "0x102FAE0", VA = "0x181030AE0")]
|
||||
private unsafe static void SHA256Expand(uint* x)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400148C RID: 5260
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400148C")]
|
||||
private byte[] _buffer;
|
||||
|
||||
// Token: 0x0400148D RID: 5261
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400148D")]
|
||||
private long _count;
|
||||
|
||||
// Token: 0x0400148E RID: 5262
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400148E")]
|
||||
private uint[] _stateSHA256;
|
||||
|
||||
// Token: 0x0400148F RID: 5263
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400148F")]
|
||||
private uint[] _W;
|
||||
|
||||
// Token: 0x04001490 RID: 5264
|
||||
[Token(Token = "0x4001490")]
|
||||
private static readonly uint[] _K;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user