Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2012, 09:58 PM
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

I have already gone through MS-OFFCRYPTO. But I have some problems:

As according to section : 2.3.4.11 and 2.3.4.12

1) In case of generating encryption Key,



The initial password hash is generated as the following.

H0 = H(salt + password)

The salt used MUST be generated randomly. The hash is then iterated using the following approach:

Hn = H(iterator + Hn-1)

Where iterator is an unsigned 32-bit value which is initially set to 0x00000000, and is then incremented monotonically on each iteration until PasswordKey.spinCount iterations have been performed. The value of the iterator on the last iteration MUST be one less than PasswordKey.spinCount.

The final hash data which is used for an encryption key is then generated using the following method:

Hfinal = H(Hn + block_key)

Where block_key represents an array of bytes used to prevent two different blocks from encrypting to the same cipher text.

2) In case of Initialization vector: another block key is used.

IV= Salt key+Block key.

i) Are the both block keys same or different ?

ii) From where I can get the block keys ?



Can anyone please help me out of this problem. Your help is heartly appreciated.

Thanks,

SamDev
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 03:05 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