DRM_MGR_InitDecrypt and DRM_MGR_Decrypt

August 30th, 2006 - 10:43 am ET by Morpheus | Report spam
Hi,

I'm tring to decrypt an encrypted content, but i think im doing something
wrong, here is what i do:

for every payload i call InitDecrypt with the last 15 bytes of the payload,
and the payload size i pass this function is the total payload size minus 15
bytes.
Then i call Decrypt with the payload and the buffer i pass does not conatin
the last 15 bytes.

i repeat these steps for each and every payload in the content.
is that ok?

can someone please help me with this?
Thanks!
email Follow the discussionReplies 1 replyReplies Make a reply

Similar topics

Replies

#1 kondal
September 04th, 2006 - 02:00 am ET | Report spam
Hi there,

This is the same issue i faced when WMDRM10 was under beta testing. I
personally went to Microsoft office for the solution.

The document just describes the decryption format and does not give you
the correct information of what to pass as arguments.

The solution is in both the function do not remove the 15 bytes from
the payload size and the buffer.

-kondal
Morpheus wrote:
Hi,

I'm tring to decrypt an encrypted content, but i think im doing something
wrong, here is what i do:

for every payload i call InitDecrypt with the last 15 bytes of the payload,
and the payload size i pass this function is the total payload size minus 15
bytes.
Then i call Decrypt with the payload and the buffer i pass does not conatin
the last 15 bytes.

i repeat these steps for each and every payload in the content.
is that ok?

can someone please help me with this?
Thanks!


email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search