Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Configuration/Assemblies/AssemblyHashAlgorithm.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

40 lines
1.9 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Configuration.Assemblies
{
/// <summary>Specifies all the hash algorithms used for hashing files and for generating the strong name.</summary>
// Token: 0x020001C1 RID: 449
[Token(Token = "0x20001C1")]
[ComVisible(true)]
[Serializable]
public enum AssemblyHashAlgorithm
{
/// <summary>A mask indicating that there is no hash algorithm. If you specify <see langword="None" /> for a multi-module assembly, the common language runtime defaults to the SHA1 algorithm, since multi-module assemblies need to generate a hash.</summary>
// Token: 0x040008D6 RID: 2262
[Token(Token = "0x40008D6")]
None,
/// <summary>Retrieves the MD5 message-digest algorithm. MD5 was developed by Rivest in 1991. It is basically MD4 with safety-belts and while it is slightly slower than MD4, it helps provide more security. The algorithm consists of four distinct rounds, which has a slightly different design from that of MD4. Message-digest size, as well as padding requirements, remain the same.</summary>
// Token: 0x040008D7 RID: 2263
[Token(Token = "0x40008D7")]
MD5 = 32771,
/// <summary>A mask used to retrieve a revision of the Secure Hash Algorithm that corrects an unpublished flaw in SHA.</summary>
// Token: 0x040008D8 RID: 2264
[Token(Token = "0x40008D8")]
SHA1,
/// <summary>A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 256 bits.</summary>
// Token: 0x040008D9 RID: 2265
[Token(Token = "0x40008D9")]
SHA256 = 32780,
/// <summary>A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 384 bits.</summary>
// Token: 0x040008DA RID: 2266
[Token(Token = "0x40008DA")]
SHA384,
/// <summary>A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 512 bits.</summary>
// Token: 0x040008DB RID: 2267
[Token(Token = "0x40008DB")]
SHA512
}
}