基本的には以下のApple公式のサンプルを読めばOK。 CryptoExercise http://developer.apple.com/iphone/library/samplecode/CryptoExercise/Introduction/Intro.html 特に読むべきところは SecKeyWrapper.m ファイルの以下のメソッド - (NSData *)doCipher:(NSData *)plainText key:(NSData *)symmetricKey context:(CCOperation)encryptOrDecrypt padding:(CCOptions *)pkcs7 AESについての基礎知識がまだない場合は以下のサイトなどがおすすめ。 The AES-CBC Cipher Algorithm and Its Use with IPsec http:
![iPhoneアプリでAES暗号を使う方法 - 強火で進め](https://cdn-ak-scissors.b.st-hatena.com/image/square/31d4cead2386a89774c6ae3c4bf6a972f7a145ad/height=288;version=1;width=512/https%3A%2F%2Fcdn.image.st-hatena.com%2Fimage%2Fscale%2Feadeb17e0c241c414dbe719ed4c60561f2905616%2Fbackend%3Dimagemagick%3Bheight%3D1300%3Bversion%3D1%3Bwidth%3D1300%2Fhttps%253A%252F%252Fimages-fe.ssl-images-amazon.com%252Fimages%252FI%252F51evnioBHsL._SL160_.jpg)