using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// Represents the abstract class from which all implementations of the MD160 hash algorithm inherit.
// Token: 0x02000518 RID: 1304
[ComVisible(true)]
public abstract class RIPEMD160 : HashAlgorithm
{
/// Initializes a new instance of the class.
// Token: 0x06002FDF RID: 12255 RVA: 0x0009B884 File Offset: 0x00099A84
protected RIPEMD160()
{
this.HashSizeValue = 160;
}
/// 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 it is not FIPS-compatible.
///
///
///
// Token: 0x06002FE0 RID: 12256 RVA: 0x0009B898 File Offset: 0x00099A98
public new static RIPEMD160 Create()
{
return RIPEMD160.Create("System.Security.Cryptography.RIPEMD160");
}
/// 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 it is not FIPS-compatible.
// Token: 0x06002FE1 RID: 12257 RVA: 0x0009B8A4 File Offset: 0x00099AA4
public new static RIPEMD160 Create(string hashName)
{
return (RIPEMD160)CryptoConfig.CreateFromName(hashName);
}
}
}