Bug 56077 - [PATCH] Add password hash function to HWPF
Summary: [PATCH] Add password hash function to HWPF
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 14:30 UTC by Stefan Kopf
Modified: 2014-02-21 23:26 UTC (History)
0 users



Attachments
Patch file created by patch.xml to add password hash function to HWPF (1.69 KB, patch)
2014-01-28 14:31 UTC, Stefan Kopf
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.