45 lines
2.7 KiB
C#
45 lines
2.7 KiB
C#
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.</summary>
|
|
// Token: 0x0200040C RID: 1036
|
|
[Token(Token = "0x200040C")]
|
|
[ComVisible(true)]
|
|
public abstract class SHA256 : HashAlgorithm
|
|
{
|
|
/// <summary>Initializes a new instance of <see cref="T:System.Security.Cryptography.SHA256" />.</summary>
|
|
// Token: 0x060022F4 RID: 8948 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60022F4")]
|
|
[Address(RVA = "0x2DFD660", Offset = "0x2DFC460", VA = "0x182DFD660")]
|
|
protected SHA256()
|
|
{
|
|
}
|
|
|
|
/// <summary>Creates an instance of the default implementation of <see cref="T:System.Security.Cryptography.SHA256" />.</summary>
|
|
/// <returns>A new instance of <see cref="T:System.Security.Cryptography.SHA256" />. On the .NET Framework, this method creates an instance of the <see cref="T:System.Security.Cryptography.SHA256Managed" /> class if FIPS mode is not active; if FIPS mode is active, it creates an instance of the <see cref="T:System.Security.Cryptography.SHA256Cng" /> class. On .NET Core, it returns an instance of a private class derived from <see cref="T:System.Security.Cryptography.SHA256" />.</returns>
|
|
/// <exception cref="T:System.Reflection.TargetInvocationException">On the .NET Framework 4.6.1 and earlier versions only: The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.</exception>
|
|
// Token: 0x060022F5 RID: 8949 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60022F5")]
|
|
[Address(RVA = "0x2DFD560", Offset = "0x2DFC360", VA = "0x182DFD560")]
|
|
public new static SHA256 Create()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Creates an instance of a specified implementation of <see cref="T:System.Security.Cryptography.SHA256" />.</summary>
|
|
/// <param name="hashName">The name of the specific implementation of <see cref="T:System.Security.Cryptography.SHA256" /> to be used.</param>
|
|
/// <returns>A new instance of <see cref="T:System.Security.Cryptography.SHA256" /> using the specified implementation.</returns>
|
|
/// <exception cref="T:System.Reflection.TargetInvocationException">On the .NET Framework only: FIPS mode is enabled, but <paramref name="hashName" /> requests <see cref="T:System.Security.Cryptography.SHA256Managed" />, which is not FIPS compatible.</exception>
|
|
// Token: 0x060022F6 RID: 8950 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60022F6")]
|
|
[Address(RVA = "0x2DFD4D0", Offset = "0x2DFC2D0", VA = "0x182DFD4D0")]
|
|
public new static SHA256 Create(string hashName)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|