23 lines
1.2 KiB
C#
23 lines
1.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Configuration.Assemblies
|
|
{
|
|
/// <summary>Specifies all the hash algorithms used for hashing files and for generating the strong name.</summary>
|
|
// Token: 0x02000146 RID: 326
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum AssemblyHashAlgorithm
|
|
{
|
|
/// <summary>A mask indicating that there is no hash algorithm. If you specify 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: 0x04000412 RID: 1042
|
|
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: 0x04000413 RID: 1043
|
|
MD5 = 32771,
|
|
/// <summary>A mask used to retrieve a revision of the Secure Hash Algorithm that corrects an unpublished flaw in SHA.</summary>
|
|
// Token: 0x04000414 RID: 1044
|
|
SHA1
|
|
}
|
|
}
|