| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Why not just add your own tag to the start of the data before you encrypt it. When you decrypt it, check for the tag (to see if it decoded correctly), and then remove that tag and decode it.
Another possibility would be to append some sort of signature or checksum to the end of the data produced by the archiver, before you encrypt it.
Then after you decrypt the data, you could check the last bytes of the data for the signature or verify the checksum before passing the rest of the data to the unarchiver.
| References: | |
| >Re: Feeding NSUnarchiver bad data can cause crash (From: Jeremy Dronfield <email@hidden>) | |
| >Re: Feeding NSUnarchiver bad data can cause crash (From: Glenn Andreas <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.