Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
1. get keyData from iCloud
2. wrappedOffset = keyDataSize - (ECP_LEN + WRAPPED_KEY_LEN)
3. get wrappedKey (at wrappedOffset)
4. get CLASS_KEY
iOS 5/6: ((UINT32*)(keyData + wrappedOffset))[-1]
iOS 7: ((UINT32*)(keyData + wrappedOffset))[-3]
5. decrypt wrappedKey using CLASS_KEY
6. get AES_KEY from wrappedKey
7. 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
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900