Re: Decrypt Filestream of MS Word Password protected File

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



No, or, at least, not easily. The file is not held as, nor encrypted as, a single stream. It is a compound document and (some of) the individual streams within it are encrypted. I am no expert in this, but, in theory, if you break the file into individual streams you can determine the encryption provider used and may be able to decrypt individual streams and put the document back together.

--
Enjoy,
Tony

www.WordArticles.com

"Aerojade" <Aerojade@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:E1144714-E5F7-49DB-A507-3F245D693E70@xxxxxxxxxxxxxxxx
C#, VS2005, Office2003.

I have a MS Word File that is password protected and the password is known
to me. Is it possible to create a filestream of the word document and then
decrypt the filestream since i know the password. I mean, the output after
decryption of the Filestream should be identicle to a filestream of the same
MS Word file without password protection. Please help.

.



Relevant Pages

  • Stream.Read
    ... Gängige Implementierungen wie FileStream und MemoryStream liefern, ... Aufrufer per count-Parameter gewünscht wurden. ... Ende des Streams erreicht ist. ... welcher einen beliebigen Stream wrappt und bei der Read-Methode ...
    (microsoft.public.de.german.entwickler.dotnet.framework)
  • CipherInputStream/CipherOutputStream
    ... Im currently struggeling with encryption of streams using ... CipherInputStream and CipherOutputStream. ... // Create decryption-stream ...
    (comp.lang.java.help)
  • Re: Rijndael class, Padding bug?, Ivan Medvedev
    ... You'll need to call TransformFinalBlock for the final block of the ... The streams are nice as they handle of this for you. ... > CreateDecryptor methods on the Rijndael class and used the TransformBlock ... Encryption works fine. ...
    (microsoft.public.dotnet.security)
  • Re: encryption question
    ... one big lesson I learned about public key encryption is that it is ... very slow and basically unusable for large streams, ...
    (borland.public.delphi.thirdpartytools.general)