Jump to content
  • 1

How to know the real value from XOR key and encrypted value?


g1doz
 Share

Question

Hi

I want to know the real value of the gems in king of thieves.

But the gems value are encrypted and I find a way to find them without their values but by its colors and this is the result:

 

Left gem: encrypted value 1,960,750,621 / Unencrypted expected value 3000 ~ 9999

 

center gem: encrypted value 1,960,748,331 / Unencrypted expected value 1000 ~ 2999

 

Right gem: encrypted value 1,960,748,995 / size: Unencrypted expected value 1000 ~ 2999

 

those is the unchanged value near to them and maybe one of them is the xor key

482,434,872

482,434,912

1,102,053,376

482,434,952

1,104,764,928

 

and those a bit away from them 

1,109,778,944

1,088,290,816

1,107,354,304

1,104,764,928

1,109,779,136

 

I'll be very appreciated for any kind of help. Thanks in advance 

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

[ @g1doz ]
---

Quote

those is the unchanged value near to them and maybe one of them is the xor key

Probably there's more than one xor key, just try to change the xor key to 0.
---

Link to comment
Share on other sites

  • 0
38 minutes ago, kiynox said:

[ @g1doz ]
---

Probably there's more than one xor key, just try to change the xor key to 0.
---

And what the meaning of change the xor key to 0? Is the encryption will not work and the real values will appear?

Link to comment
Share on other sites

  • 0
2 hours ago, kiynox said:

[ @g1doz ]
---

Probably there's more than one xor key, just try to change the xor key to 0.
---

I tried it and some of values that was 0 and I changed to 1 effect like this 

 

Game crash

Or

The encrypted values changed

Or

The address of encrypted values become purple

I think I discovered the values that used in encryption look into this:

 

all three real values between 1000 ~ 2999

 

value encrypted 1,858,284,306

maybe the keys

1,585,449,752

126

 

value encrypted 1,858,283,625

maybe the keys

1,585,449,792

126

 

value encrypted 1,858,283,632

maybe the keys

1,585,449,832

126

 

Those value that have pattern is under the encrypted value and I think they related to encryption because when I change them they back automatically and if I freeze them the game crash and also between every number that above 126 those numbers have a pattern which is each one bigger than other by 40 so what do you think? How can I decrypt this?

Link to comment
Share on other sites

  • 0
6 hours ago, Midranger said:

Select your 2 encrypted values then press on calculator icon and select XOR. you will get result. 

 

I tried it and didn't work it just show a big big number not the real value 

 

Some pro told me the encryption is

bit32.bxor(Val, key)

But I didn't understand how can I apply this?

Link to comment
Share on other sites

  • 0
On 5/31/2024 at 6:37 PM, g1doz said:

Hi

I want to know the real value of the gems in king of thieves.

But the gems value are encrypted and I find a way to find them without their values but by its colors and this is the result:

 

Left gem: encrypted value 1,960,750,621 / Unencrypted expected value 3000 ~ 9999

 

center gem: encrypted value 1,960,748,331 / Unencrypted expected value 1000 ~ 2999

 

Right gem: encrypted value 1,960,748,995 / size: Unencrypted expected value 1000 ~ 2999

 

those is the unchanged value near to them and maybe one of them is the xor key

482,434,872

482,434,912

1,102,053,376

482,434,952

1,104,764,928

 

and those a bit away from them 

1,109,778,944

1,088,290,816

1,107,354,304

1,104,764,928

1,109,779,136

 

I'll be very appreciated for any kind of help. Thanks in advance 

Encrypt by obscured ?

Link to comment
Share on other sites

  • 0
On 6/1/2024 at 2:45 AM, g1doz said:

I tried it and didn't work it just show a big big number not the real value 

 

Some pro told me the encryption is

bit32.bxor(Val, key)

But I didn't understand how can I apply this?

Select one type of values. Dword or Qword depend on what type of value is your value. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.