← Prev in month ← Prev in thread

Fwd: OASIS and encryption

From
David Faure <>
Date
2004-08-25T13:30:27+00:00
ID
Thread
Fwd: OASIS and encryption
Hello,
I was asked to forward you the following questions, so that we can implement
OASIS-compatible encryption support in KOffice.

----------  Forwarded Message  ----------

Subject: OASIS queries
Date: Wednesday 25 August 2004 15:23
From: Brad Hards <>
To: David Faure <>

David,

Can you make the following queries to the OASIS people for me?

I'm looking at office-spec-1.0-cd-1.pdf Section 16.3, and having a bit of
trouble with understanding how to decrypt a file.

I understand that each file is seperately compressed and then encrypted
 before being stored.

I understand that I need to extract the salt and initialisation vectors for
each file from the META/manifest.xml file, and base64 decode them before
applying.

I understand that I need to use PKCS#5 / PBKDF2 to combine the SHA1 hash of
the user-provided password with the salt. I don't know what the pseudo-random
function for PBKDF2 is though. Is it just HMAC-SHA-1?

Can I have some test vectors for the PBKDF2 functions?

Brad

-------------------------------------------------------

-- 
David Faure, , sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
← Prev in month ← Prev in thread