using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// Computes the hash for the input data.
// Token: 0x0200052E RID: 1326
[ComVisible(true)]
public abstract class SHA256 : HashAlgorithm
{
/// Initializes a new instance of .
// Token: 0x060030A0 RID: 12448 RVA: 0x000A6ABC File Offset: 0x000A4CBC
protected SHA256()
{
this.HashSizeValue = 256;
}
/// Creates an instance of the default implementation of .
/// A new instance of .
/// The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
///
///
///
// Token: 0x060030A1 RID: 12449 RVA: 0x000A6AD0 File Offset: 0x000A4CD0
public new static SHA256 Create()
{
return SHA256.Create("System.Security.Cryptography.SHA256");
}
/// Creates an instance of a specified implementation of .
/// A new instance of using the specified implementation.
/// The name of the specific implementation of to be used.
/// The algorithm described by the parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
// Token: 0x060030A2 RID: 12450 RVA: 0x000A6ADC File Offset: 0x000A4CDC
public new static SHA256 Create(string hashName)
{
return (SHA256)CryptoConfig.CreateFromName(hashName);
}
}
}