Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What algorithm does Microsoft Office 2010 use for encryption?

Does it use the standard AES 128bit key for encryption? I've searched a lot on Google, but I still haven't found the algorithm is uses for encrypting.

I'm encrypting a PowerPoint file.

like image 284
user478636 Avatar asked Mar 31 '11 14:03

user478636


2 Answers

This technet article confirms that the defaults are AES 128-bit key, SHA1, CBC.

Although there are Office 2010 settings to change how encryption is performed, when you encrypt Open XML Format files (.docx, .xslx, .pptx, and so on) the default values — AES (Advanced Encryption Standard), 128-bit key length, SHA1, and CBC (cipher block chaining) — provide strong encryption and should be fine for most organizations.

It is important to note, however, that encryption is export controlled and that all versions of windows may not have all cryptographic providers installed. The article also mentions that you can see which Cryptographic Service Providers are installed by checking the registry key:

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Cryptography/Defaults/Provider
like image 197
Luke Avatar answered Oct 25 '22 06:10

Luke


These MS docs specify completely the different algorithms, and also the differences between the different versions, etc. For Office 2010 AES-128 with CBC is used, but Office 2007 used AES-128 in ECB mode, and before that, RC4 was used. So it also depends on how compatible you want to be (what can the receiving party still decrypt?).

like image 21
Henno Brandsma Avatar answered Oct 25 '22 05:10

Henno Brandsma