Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2011, 12:57 AM
samdev samdev is offline Method for Password Encryption in word 2010 Windows XP Method for Password Encryption in word 2010 Office 2010 32bit
Novice
Method for Password Encryption in word 2010
 
Join Date: Dec 2011
Posts: 5
samdev is on a distinguished road
Default


Hii MACROPOD,
Thanks for your response, I think you are getting me wrong, I am trying to decrypt the password using default setting of security in office 2010. During surfing on internet what i have got is that Windows is used only for change of security settings for password through registry keys. But in both cases encryption algorithm steps are same.
Reply With Quote
  #2  
Old 12-14-2011, 01:25 AM
macropod's Avatar
macropod macropod is offline Method for Password Encryption in word 2010 Windows 7 64bit Method for Password Encryption in word 2010 Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi samdev,
Quote:
Originally Posted by samdev View Post
Hii MACROPOD,
I am trying to decrypt the password using default setting of security in office 2010. During surfing on internet what i have got is that Windows is used only for change of security settings for password through registry keys. But in both cases encryption algorithm steps are same.
AFAIK, the password is not stored in the document under any of the secure encryption algorithms, though I believe it may have been in some of the earlier (eg 1990-1999) Word versions. If I am correct about that, you won't be able to decrypt the password; rather, the password provides the key to decrypt the document. If all you want to do is to open a password-protected document via code, all you need is some vba code like:
Code:
Documents.Open FileName:="Document name & path", _
PasswordDocument:="Password for opening the document", _
WritePasswordDocument:="Password for saving changes to the document"
You don't need to know anything about the encryption algorithm used for the encryption; a token representing the type of encryption will be stored in the document. Any tokens used by Word 2007 will also be used by Word 2010. As per the article in the MS link, a Word 2010 document may have some different tokens to represent the new encryption methods, but the old ones will be the same.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
aes 128, password encryption, sha1



Similar Threads
Thread Thread Starter Forum Replies Last Post
ms word 2010 file opening password prateek1108 Office 0 11-30-2011 03:40 AM
Method for Password Encryption in word 2010 Is there a Microsoft Word Form Method That Restricts Placement, Length, and Spell Che petec Word 10 09-25-2011 08:41 AM
Method for Password Encryption in word 2010 Still I don’t know the professional method to have the caption next to the Equation! Jamal NUMAN Word 2 04-17-2011 06:05 PM
Method for Password Encryption in word 2010 Encryption XOR - any errors??? Word Doc Word 1 10-08-2009 12:57 AM
Retrict Method Condition markp Outlook 0 12-22-2005 05:38 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft