A pretty common problem is the need to communicate using AES encrpytion. While Base64 encoding is fairly easy to implement AES encryption/decryption with the CCCrypt library is not terribly straightforward with the iOS SDK and numerous tutorials have been written on the subject.
I found a very simple to use encryption library from Hiroshi Hashiguchi that wraps the CCCrypt librar and allows you to very easily perform Base64 Encoding/Decoding with AES 256 bit support.
You can find the library on Github here:
https://github.com/dev5tec/FBEncryptor
Included on the Github page are full instructions, and there is a sample project including demonstrating use of the library.
Không có nhận xét nào :
Đăng nhận xét