diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-08-20 03:23:41 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-08-20 03:23:41 +0300 |
commit | 7062e8a8dd08939fec54ce57136d88a6d8629d46 (patch) | |
tree | 12cb5bee63901a39cef7b03adacda13bb4f7ab7a | |
parent | e804a377286a13833aadc87f2ed118f19c4369fd (diff) |
Update CTBEncryptedFile.cs
-rw-r--r-- | UVtools.Core/FileFormats/CTBEncryptedFile.cs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/UVtools.Core/FileFormats/CTBEncryptedFile.cs b/UVtools.Core/FileFormats/CTBEncryptedFile.cs index ad3a587..53aa385 100644 --- a/UVtools.Core/FileFormats/CTBEncryptedFile.cs +++ b/UVtools.Core/FileFormats/CTBEncryptedFile.cs @@ -35,15 +35,9 @@ namespace UVtools.Core.FileFormats public const byte HASH_LENGTH = 32; public const uint LAYER_XOR_KEY = 0xEFBEADDE; - public static readonly byte[] Kong = - { - 0xD0, 0x5B, 0x8E, 0x33, 0x71, 0xDE, 0x3D, 0x1A, 0xE5, 0x4F, 0x22, 0xDD, 0xDF, 0x5B, 0xFD, 0x94, - 0xAB, 0x5D, 0x64, 0x3A, 0x9D, 0x7E, 0xBF, 0xAF, 0x42, 0x03, 0xF3, 0x10, 0xD8, 0x52, 0x2A, 0xEA - }; + public static readonly byte[] Kong = new byte[32]; - public static readonly byte[] CookieMonster = { - 0x0F, 0x01, 0x0A, 0x05, 0x05, 0x0B, 0x06, 0x07, 0x08, 0x06, 0x0A, 0x0C, 0x0C, 0x0D, 0x09, 0x0F - }; + public static readonly byte[] CookieMonster = new byte[16]; #endregion |