Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.Login to AccountCreate an Account

Javascript Disabled Detected

You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality.

Decoding Microsoft keys

IcemanND

Posted 30 January 2011 - 11:16 AM

IcemanND

MSFN Junkie

Super Moderator

3,252 posts

Joined 24-September 03

I posted the algorithm on the forum somewhere but can't find it at the moment. But the ProductKey is reverse base-64 encoded in the digitalproductid. Let me dig around a bit and I'll see if I can find it again.

IcemanND

Posted 30 January 2011 - 11:20 AM

Cokaric

Posted 30 January 2011 - 11:21 AM

Cokaric

Member

3 posts

Joined 29-January 11

I posted the algorithm on the forum somewhere but can't find it at the moment. But the ProductKey is reverse base-64 encoded in the digitalproductid. Let me dig around a bit and I'll see if I can find it again.

Base 64 or base 24? So I need to decode the every letter using base24/base64 algorithm first and then just reverse it? Cause usually product id is in this format 12345-123-1234567-12345 unlike Product key... Product key is in this format >> FFFFF-GGGGG-HHHHH-JJJJJ-KKKKK...

CoffeeFiend

Posted 30 January 2011 - 12:17 PM

CoffeeFiend

Coffee Aficionado

Super Moderator

4,973 posts

Joined 14-July 04

This is easier for me to understand even though its coded in C#... I will try to code on my own in pure C++... Thanks again =)

It's really not that hard to port (if a C# guy like me was able to do it then it should be easy for a C++ guy), but there's already tons of such code on the web (to decode DigitalProductID's), even in C++, like here. Google will find plenty of relevant hits if you search with terms like DigitalProductID and C++. These kinds of apps have been around for just about forever, so it should be pretty easy to find source code for most major languages.

Coffee: \ˈkȯ-fē, ˈkä-\. noun. Heaven in a cup. Life's only treasure. The meaning of life. Kaffee ist wunderbar. C8H10N4O2 FTW.