Office 2007 signature line



Greetings All,

I'm not sure if this is the place to post, if not, please indicate me
where to post it.

I just got my hands on my new Office 2007 instalation disc, and
everything was smoothly during the instalation. But I am a curious guy
and was looking over each folder of the CD and I came across something
very interesting.

On almost each folder of the Office instalation there is a file called
SETUP.XML and being a computer programmer ever since the dawn of
times, I opened it up to see if I could learn something new.

Every SETUP.XML file has an structure more or less like this:

-----------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<!--_SIG=[ base64 hash code ]-->
<Setup Id="[Product ID]" Type="Product"
ProductCode="{00000000-0000-0000-0000-000000000000}">
<PIDTemplate Value="[ProductID Template]"/>
<Option />
<Option />
<Option />
</Setup>
-----------------------------------------------------------

Ok as I understood from the XML file it would be pretty simple to add
more options to an SETUP.XML file, and make it do almost everything...

Yeah, yeah, I know about using "setup.exe /admin" to create an
CONFIG.XML file that will automate the office instalation process.

But like I said, I wanted to learn something new... and I did.

Did you notice the [base64 hash code] above?

THE HASH CODE IS 1024 BITS LONG!!!!

No hash function I know generates a hash code this long... MD5, SHA1,
SHA512... none of the usual suspects generates a hash value this long.

I made some tests and I discovered that as long as you don't add any
new element inside the XML file the file is not reported as corrupted.

For instance you can add comments above the SETUP tag, or add some
White Space between each element. But if you add a new element, even a
comment, the file is reported corrupted and the setup process is
aborted.

My question is does any of you know what hash function generates a
1024 bits long hash value?
And what is the function used here?
Is this new function safer than the others hash functions?

Regards,

MstrControl

.



Relevant Pages

  • Re: Some comments on "super fast hash"
    ... SFH seems reasonably good and certainly is fast. ... > a hash, and SFH does not. ... The latest versions of each hash function which leverages this ... it must behave worse on other key sets. ...
    (comp.programming)
  • Some comments on "super fast hash"
    ... I've implemented a hash function here: ... SFH seems reasonably good and certainly is fast. ... quality of the hash function is not affected by the difference as far ... it must behave worse on other key sets. ...
    (comp.programming)
  • Re: Maximum String size in Java?
    ... >> compilation on any new target platform that does not already have ... Do you have a version of SFH posted with changes to use this file ... If they intend to use a hash ... benefit of 31/33 will sway me into using more than one hash function. ...
    (comp.programming)
  • Re: Suggestions for double-hashing scheme
    ... chain style and reprobe style are basically a wash. ... will be a smaller chance of encountering deleted entries before it. ... Once you sufficiently optimize a hash table, ... by computing of the hash function). ...
    (comp.programming)
  • Re: Office 2007 signature line
    ... CONFIG.XML file that will automate the office instalation process. ... THE HASH CODE IS 1024 BITS LONG!!!! ... No hash function I know generates a hash code this long... ...
    (microsoft.public.dotnet.security)