iCloudMe, the cross-platform SDK and tools, will facilitate the users to develop their own Apps to store content in iCloud, keeping contacts, photos, calendars, bookmarks, notes, pages, numbers, keynote up to date automatically.
get keyData from iCloud
• wrappedOffset = keyDataSize - (ECP_LEN + WRAPPED_KEY_LEN)
• get wrappedKey (at wrappedOffset)
• get CLASSKEY
• iOS 5/6: ((UINT32)(keyData + wrappedOffset))[-1]
• iOS 7: ((UINT32_)(keyData + wrappedOffset))[-3]
• decrypt wrappedKey using CLASS_KEY
• get AES_KEY from wrappedKey
• file decryption: by 0x1000 blocks (unique IV for every block)
i have key data and file.
can you guide me in decryption. in Objective c language
get keyData from iCloud • wrappedOffset = keyDataSize - (ECP_LEN + WRAPPED_KEY_LEN) • get wrappedKey (at wrappedOffset) • get CLASSKEY • iOS 5/6: ((UINT32)(keyData + wrappedOffset))[-1] • iOS 7: ((UINT32_)(keyData + wrappedOffset))[-3] • decrypt wrappedKey using CLASS_KEY • get AES_KEY from wrappedKey • file decryption: by 0x1000 blocks (unique IV for every block)
i have key data and file. can you guide me in decryption. in Objective c language