Files
Apr2020-Cpp2Il-Dump/mscorlib/System/Configuration/Assemblies/AssemblyHashAlgorithm.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +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: 0x020001BA RID: 442
[Token(Token = "0x20001BA")]
[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: 0x040008CC RID: 2252
[Token(Token = "0x40008CC")]
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: 0x040008CD RID: 2253
[Token(Token = "0x40008CD")]
MD5 = 32771,
/// <summary>A mask used to retrieve a revision of the Secure Hash Algorithm that corrects an unpublished flaw in SHA.</summary>
// Token: 0x040008CE RID: 2254
[Token(Token = "0x40008CE")]
SHA1,
/// <summary>A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 256 bits.</summary>
// Token: 0x040008CF RID: 2255
[Token(Token = "0x40008CF")]
SHA256 = 32780,
/// <summary>A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 384 bits.</summary>
// Token: 0x040008D0 RID: 2256
[Token(Token = "0x40008D0")]
SHA384,
/// <summary>A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 512 bits.</summary>
// Token: 0x040008D1 RID: 2257
[Token(Token = "0x40008D1")]
SHA512
}
}