BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-02-2011, 04:27 PM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Model: 7700
PIN: N/A
Carrier: Unknown
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Angry Encrypted ipd file

Please Login to Remove!

Few years ago, I developed an application to parse IPD file and upload to an internal site for backup. Now I need support the encrypted IPD file.

I opened and looked the encrypted ipd file, the structure is different with the original one.

I searched on internet, not enough information there, it just mentioned that the encryption used AES 256bits with CBC mode.

But the questions I have are:
. What's the structure of encrypted ipd file. It seems like the encryption is not based on the whole file.

. Since it is password based encryption, the key requires 32 bytes, hows the key composed (password + ????)
. What's the initial vector used for encryption?
. What's padding? is it Nopadding? I guess so, since the encrypted IPD file is just a little bit bigger than the original one

Can anyone answer these questions?
Thanks
Offline  
Old 11-02-2011, 11:32 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: Encrypted ipd file

I beleive RIM has documented the IPD encryption system, but the distribution for the relevent documents may be limited.

The normal way to get a symetric key from a password is to hash the password with a sault then cycle the hash some number of times. The sault may do you in. They are probably using encrypor/decryptor factories and PKCS5 encoding which will take care of the supplying and recovering the IV.
__________________
My other Blackberry is a PlayBook.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Encrypted ipd file
Thread Thread Starter Forum Replies Last Post
How to transfer encrypted file in DM 6.0 cheerful General BlackBerry Discussion 1 01-29-2011 03:04 PM
Copy SMS from a CSV to a IPD Backup File Loewi General BlackBerry Discussion 3 06-18-2009 07:22 AM
IPD file "eats" [some text missing] SMS danixdefcon5 General BlackBerry Discussion 1 09-22-2008 07:49 AM
Detailed instructions for failing Bluetooth file transfers... chris_in_ca General 8100 Series Discussion - Pearl 4 12-06-2006 02:54 PM
Need to get contents of IPD file into Outlook! JeffCullen General BlackBerry Discussion 8 06-13-2006 07:17 AM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.