Bug 56077

Summary: [PATCH] Add password hash function to HWPF
Product: POI Reporter: Stefan Kopf <stefan.kopf>
Component: HWPFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Patch file created by patch.xml to add password hash function to HWPF

Description Stefan Kopf 2014-01-28 14:30:36 UTC
This patch adds the function hashPassword() to the DocumentProperties class in HWPF. The hash generated by this function can be used to set the lKeyProtDoc field or to compare its value against a user provided password.

This patch comes with a test case.
Comment 1 Stefan Kopf 2014-01-28 14:31:28 UTC
Created attachment 31258 [details]
Patch file created by patch.xml to add password hash function to HWPF
Comment 2 Andreas Beeker 2014-02-21 23:26:09 UTC
Thanks for the patch.
Applied with SVN ver r1570750 with quite some changes.