Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Commit

Permalink
constants updated to version 0.45.0/1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WallyCZ committed Nov 12, 2016
1 parent 880656f commit 6256640
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion PokemonGo-UWP/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:wincap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/windowscapabilities" IgnorableNamespaces="uap mp rescap wincap">
<Identity Name="c602d2cb-fdd8-4e41-b5a1-8f9a8a1f56c7" Publisher="CN=stept" Version="1.0.45.0" />
<Identity Name="c602d2cb-fdd8-4e41-b5a1-8f9a8a1f56c7" Publisher="CN=stept" Version="1.0.52.0" />
<mp:PhoneIdentity PhoneProductId="c602d2cb-fdd8-4e41-b5a1-8f9a8a1f56c7" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>PoGo</DisplayName>
Expand Down
24 changes: 12 additions & 12 deletions PokemonGoAPI/Helpers/Crypt/NiaHash.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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); }

Expand Down

0 comments on commit 6256640

Please sign in to comment.