07.05.2014 Views

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 Worksheet/Workbook Records<br />

5.43 FILEPASS<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

002F H 002F H 002F H 002F H 002F H<br />

This record is part of the <strong>File</strong> Protection Block (➜4.19). It contains information about the read/write password of the<br />

file. All record contents following this record will be encrypted (➜4.19.1).<br />

5.43.1 Record Contents (BIFF2-BIFF5)<br />

Record FILEPASS, BIFF2-BIFF5:<br />

Offset Size Contents<br />

0 2 Encryption key calculated from the read/write password (➜4.19.1)<br />

2 2 Hash value calculated from the read/write password (➜4.18.4)<br />

5.43.2 Record Contents (BIFF8)<br />

From BIFF8 on it is possible to use different encryption algorithms.<br />

Record FILEPASS, BIFF8, for BIFF2-BIFF5 weak XOR encryption:<br />

Offset Size Contents<br />

0 2 0000 H = BIFF2-BIFF5 weak XOR encryption<br />

2 2 Encryption key calculated from the read/write password (➜4.19.1)<br />

4 2 Hash value calculated from the read/write password (➜4.18.4)<br />

Record FILEPASS, BIFF8, for BIFF8 standard encryption:<br />

Offset Size Contents<br />

0 2 0001 H = BIFF8 standard encryption or strong encryption<br />

2 2 not used, should be equal to next field (0001 H )<br />

4 2 0001 H = BIFF8 standard encryption<br />

6 16 Unique document identifier used to initialise the encryption algorithm<br />

22 16 Encrypted document identifier used to verify the entered password<br />

38 16 Digest used to verify the entered password<br />

168

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!