scripts
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Represents the abstract class from which all implementations of the MD160 hash algorithm inherit.</summary>
|
||||
// Token: 0x02000518 RID: 1304
|
||||
[ComVisible(true)]
|
||||
public abstract class RIPEMD160 : HashAlgorithm
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RIPEMD160" /> class.</summary>
|
||||
// Token: 0x06002FDF RID: 12255 RVA: 0x0009B884 File Offset: 0x00099A84
|
||||
protected RIPEMD160()
|
||||
{
|
||||
this.HashSizeValue = 160;
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the default implementation of the <see cref="T:System.Security.Cryptography.RIPEMD160" /> hash algorithm.</summary>
|
||||
/// <returns>A new instance of the <see cref="T:System.Security.Cryptography.RIPEMD160" /> hash algorithm.</returns>
|
||||
/// <exception cref="T:System.Reflection.TargetInvocationException">The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but it is not FIPS-compatible.</exception>
|
||||
/// <PermissionSet>
|
||||
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
|
||||
/// </PermissionSet>
|
||||
// Token: 0x06002FE0 RID: 12256 RVA: 0x0009B898 File Offset: 0x00099A98
|
||||
public new static RIPEMD160 Create()
|
||||
{
|
||||
return RIPEMD160.Create("System.Security.Cryptography.RIPEMD160");
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the specified implementation of the <see cref="T:System.Security.Cryptography.RIPEMD160" /> hash algorithm.</summary>
|
||||
/// <returns>A new instance of the specified implementation of <see cref="T:System.Security.Cryptography.RIPEMD160" />.</returns>
|
||||
/// <param name="hashName">The name of the specific implementation of <see cref="T:System.Security.Cryptography.RIPEMD160" /> to use. </param>
|
||||
/// <exception cref="T:System.Reflection.TargetInvocationException">The algorithm described by the <paramref name="hashName" /> parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but it is not FIPS-compatible.</exception>
|
||||
// Token: 0x06002FE1 RID: 12257 RVA: 0x0009B8A4 File Offset: 0x00099AA4
|
||||
public new static RIPEMD160 Create(string hashName)
|
||||
{
|
||||
return (RIPEMD160)CryptoConfig.CreateFromName(hashName);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user