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