using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Configuration.Assemblies { /// Specifies all the hash algorithms used for hashing files and for generating the strong name. // Token: 0x020001C1 RID: 449 [Token(Token = "0x20001C1")] [ComVisible(true)] [Serializable] public enum AssemblyHashAlgorithm { /// A mask indicating that there is no hash algorithm. If you specify for a multi-module assembly, the common language runtime defaults to the SHA1 algorithm, since multi-module assemblies need to generate a hash. // Token: 0x040008D6 RID: 2262 [Token(Token = "0x40008D6")] None, /// 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. // Token: 0x040008D7 RID: 2263 [Token(Token = "0x40008D7")] MD5 = 32771, /// A mask used to retrieve a revision of the Secure Hash Algorithm that corrects an unpublished flaw in SHA. // Token: 0x040008D8 RID: 2264 [Token(Token = "0x40008D8")] SHA1, /// A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 256 bits. // Token: 0x040008D9 RID: 2265 [Token(Token = "0x40008D9")] SHA256 = 32780, /// A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 384 bits. // Token: 0x040008DA RID: 2266 [Token(Token = "0x40008DA")] SHA384, /// A mask used to retrieve a version of the Secure Hash Algorithm with a hash size of 512 bits. // Token: 0x040008DB RID: 2267 [Token(Token = "0x40008DB")] SHA512 } }