using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// Computes the hash for the input data.
// Token: 0x02000532 RID: 1330
[ComVisible(true)]
public abstract class SHA512 : HashAlgorithm
{
/// Initializes a new instance of .
// Token: 0x060030B8 RID: 12472 RVA: 0x000A7710 File Offset: 0x000A5910
protected SHA512()
{
this.HashSizeValue = 512;
}
/// 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: 0x060030B9 RID: 12473 RVA: 0x000A7724 File Offset: 0x000A5924
public new static SHA512 Create()
{
return SHA512.Create("System.Security.Cryptography.SHA512");
}
/// 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: 0x060030BA RID: 12474 RVA: 0x000A7730 File Offset: 0x000A5930
public new static SHA512 Create(string hashName)
{
return (SHA512)CryptoConfig.CreateFromName(hashName);
}
}
}