Information Security Stack Exchange is a question and answer site for information security professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to know the crypto algorithm and key strength of NSDataWritingFileProtection. I would like to know the same things for using the Keychain and NSFileManager.

I searched the Apple Developer references:

But found nothing specific.

The Advanced Encryption Standard Algorithm Validation List contains multiple entries of Apple using AES 128bit-256bit but nothing in connection to keychain or NSDataWritingOptions or NSFileManager

share|improve this question
up vote 2 down vote accepted

Apple themselves use 256-bit AES for their apps, but you can choose from AES, RC4, or 3DES in a variety of key lengths.

See Apple's Certificate, Key, and Trust Services Reference and Cryptographic Services Guide

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.