|
|
Message-ID: <CANO7a6wzW2AcQVBM5bCXPNWL5g=Qe=75dBQ4UGjqU4g_njRXJQ@mail.gmail.com>
Date: Mon, 3 Sep 2012 11:44:00 +0530
From: Dhiru Kholia <dhiru.kholia@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: oldoffice
On Sun, Sep 2, 2012 at 10:22 PM, Rich Rumble <richrumble@...il.com> wrote:
> On Sun, Sep 2, 2012 at 11:16 AM, Dhiru Kholia <dhiru.kholia@...il.com> wrote:
>> On Sun, Sep 2, 2012 at 8:34 PM, magnum <john.magnum@...hmail.com> wrote:
>>> BTW, did they use some other encryption between Office 2003 and 2007? Is support for that planned too? Maybe I missed some discussion on the lists.
>>
>> I don't think there was any other encryption scheme which was used
>> between Office 2003 and 2007.
> Since Office XP they supported other Cipher Types and longer keys
> (128bit I think); the default was the 40-bit RC4 until office 2003
Both 40-bit and 128-bit RC4 encryption algorithms are supported. The
code to do so is simple,
if(cur_salt->type == 4) /* 128-bit RC4 */
memcpy(dek, Hfinal, 16);
else /* 40-bit RC4 */
memcpy(dek, Hfinal, 5);
If you find an Office <= 2003 file which is not currently supported,
let me know.
--
Cheers,
Dhiru
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.