Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Tsirpanis <12659251+teo-tsirpanis@users.noreply.github.com>2020-07-30 23:31:44 +0300
committerGitHub <noreply@github.com>2020-07-30 23:31:44 +0300
commite94d04f9196e3bdec9226bcfb89571249f62b6f3 (patch)
treeb53b5ab88f21921fc2e8ec5e074e1456f7be87cf
parent5e37f44535e0753ff3e4dbdef4ef148ca8bb09e0 (diff)
Add newer algorithms to the AssemblyHashAlgorithm enum. (#656)
* Add newer algorithms to the AssemblyHashAlgorithm enum. * Format changes Co-authored-by: Jb Evain <jb@evain.net>
-rw-r--r--Mono.Cecil/AssemblyHashAlgorithm.cs8
1 files 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
}
}