The Microsoft Excel File Format - OpenOffice.org
The Microsoft Excel File Format - OpenOffice.org
The Microsoft Excel File Format - OpenOffice.org
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.43 FILEPASS<br />
Record FILEPASS, BIFF8, for BIFF8 strong encryption (available only in <strong>Excel</strong> 10.0 (<strong>Excel</strong> XP) and later):<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 (0002 H )<br />
4 2 0002 H = BIFF8 strong encryption<br />
6 4 Option flags:<br />
Bit Mask Contents<br />
2 00000004 H Always 1 2<br />
3 00000008 H 1 = Do not encrypt document properties<br />
10 var. FILEPASS Info Block (see below)<br />
var. 4 Size of unique document identifier (uidl)<br />
var. uidl Unique document identifier used to initialise the encryption algorithm<br />
var. uidl Encrypted document identifier used to verify the entered password<br />
var. 4 Size of following verification digest (dl)<br />
var. dl Digest used to verify the entered password<br />
FILEPASS Info Block, BIFF8, for BIFF8 strong encryption:<br />
Offset Size Contents<br />
0 4 Size of the following data in this block, without this field<br />
4 4 Repeated option flags from main record (see above)<br />
8 4 Not used<br />
12 4 Stream encryption algorithm identifier:<br />
00006801 H = RC4 (Ron's Code 4)<br />
00006802 H = SEAL (Secure Encryption Algorithm)<br />
16 4 Password hashing algorithm identifier:<br />
20 4 Hash key length (bits)<br />
00008001 H = MD2 (Message Digest 2)<br />
00008002 H = MD4 (Message Digest 4)<br />
00008003 H = MD5 (Message Digest 5)<br />
00008004 H = SHA-1 (Secure Hash Algorithm)<br />
24 4 Cryptographic provider type:<br />
28 8 Not used<br />
00000001 H = RSA<br />
0000000C H = RSA SChannel<br />
0000000D H = DSS and Diffie-Hellman<br />
00000012 H = DH SChannel<br />
00000018 H = RSA and AES<br />
36 var. Cryptographic provider name, Unicode character array with trailing null character<br />
169