Seed Key algorithms

Hardware and Software. If you have something to sell, post it here.
Posts: 114
Joined: Thu Feb 13, 2020 11:32 pm

Re: Seed Key algorithms

Postby ironduke » Mon Jul 06, 2020 8:00 pm

Scops12904 wrote:
ironduke wrote:
Scops12904 wrote:@In-Tech and @ironduke,
I have the algorithm from the samples. I already informed In-Tech about it. That said maybe you might want to start a separate thread, because the information that you post doesn't logically belong in this one?


Isn’t this thread seed and key algorithms? Confused as to why it doesn’t belong here? Or is just because it was posted for free? I was/am assuming that you were offering your assistance for free as I haven’t seen anyone here yet posting anything for sale, everyone was helping everyone else. I may be reading your response incorrectly, I do apologize if I am. The topic is seed and key and that is what was being discussed. Confused....


Yes, it is about seed and key algorithms in general. For free or not - logically it would be better to start another thread and name it "GM seed key algorithms for free", instead of filling this thread with details about a specific controller. Just my opinion, of course you are free to do whatever you want.


I never even saw that it was in the “for sale” section, for that I could easily see why I should have started another topic, sorry...

Posts: 7
Joined: Thu Jun 11, 2020 10:49 pm

Re: Seed Key algorithms

Postby Scops12904 » Mon Jul 06, 2020 8:12 pm

All is cool, guys. After all we are all here to learn from each other.
:thumbup:

Posts: 697
Joined: Sat Dec 15, 2018 7:38 am

Re: Seed Key algorithms

Postby Gampy » Sun Jul 12, 2020 1:04 am

Hi all,

Looking at GM_S_K.cpp posted above I see a bit O code like I've never seen before, could someone please explain it?

Never seen "==" operator used this way.

Line #262
Code: Select all
            v15 = v16-- == 1;

And for those interested there are loop (for and while) overruns in that code. where a = 0, a<=256 is a overrun, it should be a<256.

Thanks.
Temporary is a permanent problem!

Posts: 114
Joined: Thu Feb 13, 2020 11:32 pm

Re: Seed Key algorithms

Postby ironduke » Sun Jul 12, 2020 1:32 am

Gampy wrote:Hi all,

Looking at GM_S_K.cpp posted above I see a bit O code like I've never seen before, could someone please explain it?

Never seen "==" operator used this way.

Line #262
Code: Select all
            v15 = v16-- == 1;

And for those interested there are loop (for and while) overruns in that code. where a = 0, a<=256 is a overrun, it should be a<256.

Thanks.



We probably should start another topic.. It was pointed out that this was in the for sale section...
As far as v15 = v16-- == 1; I have no idea why it's so convulted but it's just counting 4 loops..

Posts: 697
Joined: Sat Dec 15, 2018 7:38 am

Re: Seed Key algorithms

Postby Gampy » Sun Jul 12, 2020 4:46 am

Yea, A mod could move the appropriate posts to a new thread in the appropriate forum, until then ...

Yea, it's obvious that it counts out 4 loops ...

Yea, it's different for sure ... Convoluted, well, I'll let others be the judge of that for I am not qualified to do so.

What I didn't get and it appears I do now is what the "== 1" did.

It's the same as
Code: Select all
  if(v16 == 1)
    v15 = 1;
  if(v15)
    break;
  v16--;

That IMO could be simply written as
Code: Select all
  if(v16-- == 1)
    break;
Or more clearly as
Code: Select all
  v16--;
  if(v16 == 0)
    break;

And v15 could be obliterated!

My curiosity is, is there a higher purpose to this that my dried up pea brain doesn't see ...

Not knocking ones work, just trying to learn!

Thanks ...
Temporary is a permanent problem!

User avatar
Posts: 331
Joined: Sun Jan 25, 2015 4:21 pm
Location: Sydney

Re: Seed Key algorithms

Postby j_ds_au » Sun Jul 12, 2020 8:12 pm

C ...

Joe.

Posts: 33
Joined: Wed Sep 04, 2019 8:41 pm

Re: Seed Key algorithms

Postby mattyjf01 » Sat Aug 22, 2020 11:43 am

.
Last edited by mattyjf01 on Wed Aug 26, 2020 6:17 pm, edited 1 time in total.

Posts: 33
Joined: Wed Sep 04, 2019 8:41 pm

Re: Seed Key algorithms

Postby mattyjf01 » Sun Aug 23, 2020 2:38 pm

.
Last edited by mattyjf01 on Wed Aug 26, 2020 6:17 pm, edited 1 time in total.

Posts: 697
Joined: Sat Dec 15, 2018 7:38 am

Re: Seed Key algorithms

Postby Gampy » Sun Aug 23, 2020 4:03 pm

What is this GMLAN.bin??
Temporary is a permanent problem!

Posts: 33
Joined: Wed Sep 04, 2019 8:41 pm

Re: Seed Key algorithms

Postby mattyjf01 » Sun Aug 23, 2020 6:08 pm

.
Last edited by mattyjf01 on Wed Aug 26, 2020 6:16 pm, edited 1 time in total.

PreviousNext

Return to For Sale

Who is online

Users browsing this forum: No registered users and 2 guests