From e94d04f9196e3bdec9226bcfb89571249f62b6f3 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis <12659251+teo-tsirpanis@users.noreply.github.com> Date: Thu, 30 Jul 2020 23:31:44 +0300 Subject: Add newer algorithms to the AssemblyHashAlgorithm enum. (#656) * Add newer algorithms to the AssemblyHashAlgorithm enum. * Format changes Co-authored-by: Jb Evain --- Mono.Cecil/AssemblyHashAlgorithm.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Mono.Cecil/AssemblyHashAlgorithm.cs b/Mono.Cecil/AssemblyHashAlgorithm.cs index 66ef4cb..6684c2c 100644 --- a/Mono.Cecil/AssemblyHashAlgorithm.cs +++ b/Mono.Cecil/AssemblyHashAlgorithm.cs @@ -12,7 +12,11 @@ namespace Mono.Cecil { public enum AssemblyHashAlgorithm : uint { None = 0x0000, - Reserved = 0x8003, // MD5 - SHA1 = 0x8004 + MD5 = 0x8003, + SHA1 = 0x8004, + SHA256 = 0x800C, + SHA384 = 0x800D, + SHA512 = 0x800E, + Reserved = 0x8003, // MD5 } } -- cgit v1.2.3