回答編集履歴
1
CommonCryptoについて追記。
answer
CHANGED
@@ -1,2 +1,13 @@
|
|
1
1
|
これでどうでしょうか?
|
2
|
-
[CryptoSwift](https://github.com/krzyzanowskim/CryptoSwift)
|
2
|
+
[CryptoSwift](https://github.com/krzyzanowskim/CryptoSwift)
|
3
|
+
|
4
|
+
---
|
5
|
+
|
6
|
+
Objective-CのCommonCryptoを使う。
|
7
|
+
|
8
|
+
■参考URL
|
9
|
+
[Issue using CCCrypt (CommonCrypt) in Swift](http://stackoverflow.com/questions/25754147/issue-using-cccrypt-commoncrypt-in-swift)
|
10
|
+
これのベストアンサー。operationをDecryptにすれば復号できる。
|
11
|
+
|
12
|
+
[NSData+AES.h](https://gist.github.com/matsuda/9204276)
|
13
|
+
NSDataを拡張。(Objective-C用)
|