开发者

What is this cipher/hash?

开发者 https://www.devze.com 2023-02-03 18:16 出处:网络
Please refer to this JsFiddle where I have the data separated by the appropriated columns: http://jsfiddle.net/hsZvq/

Please refer to this JsFiddle where I have the data separated by the appropriated columns:

http://jsfiddle.net/hsZvq/

Good Demo (For those who don't want to click the link):

Unique ID   Generated Code                    Part 1             Part 2
--------------------------------------------------------------------------------
877023281   9F044F5BCF2D97B2                  9F044F5BCF2D97B2 
790200492   3B9BD10FBDB90D7F613313A492ACC67B  3B9BD10FBDB90D7F   613313A492ACC67B

The Gen开发者_JAVA百科erated Code is somehow generated /derived for the Unique ID. At first I think it was a 256-bit hash because all the codes were a set length, but some of the ID's actually only have 128-bit so that leads me to believe its a combination hash.

If you split up each 128-bit part of the code you will notice that the 2nd part repeats itself a lot. It seems to be based on something that is obviously repeating.

note: Unique ID may refer to the numerical value given or possibly the numerical value with an R infront. For example the above Generated Code may be based on 877023281 or R877023281.


Do you have access to the function?

It would be helpful to generate a bunch of input/output pairs where the inputs are more related to each other. For example, inputs that differ by only one bit: 0,1,2,4,8,16,.... and 1,3,5,9,17,..

Even if the function is close to trivial, the small number of samples you have presented doesn't offer much fodder for analysis.

Of course, if you have the code, you could try reverse-engineering the code instead of its numerical output.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号