using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// Represents the abstract class from which all implementations of the hash algorithm inherit.
// Token: 0x0200050F RID: 1295
[ComVisible(true)]
public abstract class MD5 : HashAlgorithm
{
/// Initializes a new instance of .
// Token: 0x06002FA5 RID: 12197 RVA: 0x0009943C File Offset: 0x0009763C
protected MD5()
{
this.HashSizeValue = 128;
}
/// Creates an instance of the default implementation of the hash algorithm.
/// A new instance of the hash algorithm.
/// The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
///
///
///
// Token: 0x06002FA6 RID: 12198 RVA: 0x00099450 File Offset: 0x00097650
public new static MD5 Create()
{
return MD5.Create("System.Security.Cryptography.MD5");
}
/// Creates an instance of the specified implementation of the hash algorithm.
/// A new instance of the specified implementation of .
/// The name of the specific implementation of to use.
/// The algorithm described by the parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
// Token: 0x06002FA7 RID: 12199 RVA: 0x0009945C File Offset: 0x0009765C
public new static MD5 Create(string algName)
{
return (MD5)CryptoConfig.CreateFromName(algName);
}
}
}