# reverse encryption

## Recommended Posts

Hi

This is a general question about trying to figure out something

I have an unknown function that gives me an output of

0.02 = 1a02f145f15759bc5106ab9cfc4ed8e5

0.04 = 4078de62a9153bfb1083a0c2b51a2139

Is there a way to know the function that gives me this output ?

##### Share on other sites

Hi

This is a general question about trying to figure out something

I have an unknown function that gives me an output of

0.02 = 1a02f145f15759bc5106ab9cfc4ed8e5

0.04 = 4078de62a9153bfb1083a0c2b51a2139

Is there a way to know the function that gives me this output ?

Sorry, We aren't miracle workers.

there are a million different ways that ".02" can become... that... there is no efficient way to know the right way without reverse engineering the program itself. (i.e. source code)

##### Share on other sites

But assuming its the same function that translate the 0.02 to 1a02f145f15759bc5106ab9cfc4ed8e5

and

and its the same function for the rest of the results

isn't it possiable ? I can give 100 more numbers and their outputs.....

Edited by mrbig1479

##### Share on other sites

Why do you need to know the algorithm?

##### Share on other sites

Why do you need to know the algorithm?

Im trying to grab data from a web page and this data is encypted , I can see the data but its an image .

if the data =0.2 i will see a picture of 0.2

I want to grab this data as a .txt and if ill know the algorithm Ill be able to do that.

##### Share on other sites

What data are you trying to get, I mean what exactly is the data? Coin count for a game, delay for a new event, your current bank account balance, etc. Also did you look at the image names? Sometimes websites use names like .02.jpg to name their pictures.

##### Share on other sites

What data are you trying to get, I mean what exactly is the data? Coin count for a game, delay for a new event, your current bank account balance, etc. Also did you look at the image names? Sometimes websites use names like .02.jpg to name their pictures.

The data is vitual card game price.

the Image names are the name of the function that makes them ( priceGen.php)

here is the line in the HTML page that build the price.

<img src='priceGen.php?p=867f409e29d07a5fc2607af528c2a5aa'>

this represent a price of 8.33\$

##### Share on other sites

To be honest, it looks as though these things were encrypted with a hash.

Perhaps you're better off saving the hash for every number.... Hashing algorithms can be irriversable... cant they?

##### Share on other sites

Some are irreversible but those usually have collisions unless the hash length is infinite. MD5 for example, is irreversible but with the proper tool a collision can be found with minimal effort (just time). This hash honestly looks like a variation of the MD5 but that's only from first glance and I could be entirely wrong. Saving the hashes for every price possible would be a monumental waste of space IMO. If the hashes were produced in a way that the hash for 0.02 + 9.00 = 9.02's hash then it wouldn't be nearly as bad, but it seems they have a unique hash for every cent (like any good hash does) so the easiest method would be to simply OCR the price, as far as I can see anyway.

##### Share on other sites

Some are irreversible but those usually have collisions unless the hash length is infinite. MD5 for example, is irreversible but with the proper tool a collision can be found with minimal effort (just time). This hash honestly looks like a variation of the MD5 but that's only from first glance and I could be entirely wrong. Saving the hashes for every price possible would be a monumental waste of space IMO. If the hashes were produced in a way that the hash for 0.02 + 9.00 = 9.02's hash then it wouldn't be nearly as bad, but it seems they have a unique hash for every cent (like any good hash does) so the easiest method would be to simply OCR the price, as far as I can see anyway.

Yes, the whole point of hash is not to be reversible and to be unique for only(only, only) one input.

If it can (could) be reversible than that would make the ultimate data compression.

Edited by trancexx

.

eMyvnE

##### Share on other sites

You're missing the point of what I said. I was trying to point out that storing the hash value of every possibility would be useless for anything except a rainbow table and I doubt this hashing algorithm is popular enough to require one as of yet. My point was that OCR would be easier than storing the hashes since the user would need massive amounts of space and it would make the script huge. OCR would simply recognize the pictured characters displayed and return the data for the script to use, much simpler than trying to reverse a hashing algorithm or finding a collision.

##### Share on other sites

The site that this guy is trying to parse is my own and it has cost me a lot of time and money to try to get people to stop doing this. I've gone as far as to implement a way to give fake prices to certain ip address's and proxy networks. Please leave my site alone and do your own pricing work as I spend many hours per week working on my prices and your also costing me bandwidth when you script my site due to the amount of pages you script. I'm asking that those that respect a website owner's request to please not steal prices do not help this guy.

Thanks,

Heath

## Create an account

Register a new account