From 625664053d8ca1630df8f965eabb9f167fc3f89f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Lipert?= Date: Sat, 12 Nov 2016 02:08:13 +0100 Subject: [PATCH] constants updated to version 0.45.0/1.15.0 --- PokemonGo-UWP/Package.appxmanifest | 2 +- PokemonGoAPI/Helpers/Crypt/NiaHash.cs | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/PokemonGo-UWP/Package.appxmanifest b/PokemonGo-UWP/Package.appxmanifest index 3744675d7..7780f43a0 100644 --- a/PokemonGo-UWP/Package.appxmanifest +++ b/PokemonGo-UWP/Package.appxmanifest @@ -1,6 +1,6 @@  - + PoGo diff --git a/PokemonGoAPI/Helpers/Crypt/NiaHash.cs b/PokemonGoAPI/Helpers/Crypt/NiaHash.cs index 34948c828..ca7835614 100644 --- a/PokemonGoAPI/Helpers/Crypt/NiaHash.cs +++ b/PokemonGoAPI/Helpers/Crypt/NiaHash.cs @@ -5,21 +5,21 @@ class NiaHash { - /* IOS 1.13.3 */ + /* IOS 1.15.0 */ static ulong[] magic_table = { - 0x95C05F4D1512959E, 0xE4F3C46EEF0DCF07, - 0x6238DC228F980AD2, 0x53F3E3BC49607092, - 0x4E7BE7069078D625, 0x1016D709D1AD25FC, - 0x044E89B8AC76E045, 0xE0B684DDA364BFA1, - 0x90C533B835E89E5F, 0x3DAF462A74FA874F, - 0xFEA54965DD3EF5A0, 0x287A5D7CCB31B970, - 0xAE681046800752F8, 0x121C2D6EAF66EC6E, - 0xEE8F8CA7E090FB20, 0xCE1AE25F48FE0A52, + 0x2dd7caaefcf073eb, 0xa9209937349cfe9c, + 0xb84bfc934b0e60ef, 0xff709c157b26e477, + 0x3936fd8735455112, 0xca141bf22338d331, + 0xdd40e749cb64fd02, 0x5e268f564b0deb26, + 0x658239596bdea9ec, 0x31cedf33ac38c624, + 0x12f56816481b0cfd, 0x94e9de155f40f095, + 0x5089c907844c6325, 0xdf887e97d73c50e3, + 0xae8870787ce3c11d, 0xa6767d18c58d2117, }; - static UInt128 ROUND_MAGIC = new UInt128(0x78F32468CD48D6DE, 0x14C983660183C0AE); - static ulong FINAL_MAGIC0 = 0xBDB31B10864F3F87; - static ulong FINAL_MAGIC1 = 0x5B7E9E828A9B8ABD; + static UInt128 ROUND_MAGIC = new UInt128(0xe3f0d44988bcdfab, 0x081570afdd535ec3); + static ulong FINAL_MAGIC0 = 0xce7c4801d683e824; + static ulong FINAL_MAGIC1 = 0x6823775b1daad522; static ulong read_int64(byte[] p, int offset) { return BitConverter.ToUInt64(p, offset); }