문제

I am developing a client app for a RESTful web service. The web app uses the Stanford JS Crypto library for some client site cryptography and I would need to do that with the app too.

But the SJCL library doesn't just AES256 crypt the data, it does provide a kind of easy to wrapper around it. Have a look at the SJCL short overview page for more details: http://crypto.stanford.edu/sjcl/

Does anybody has experience in providing a compatible process to crypt data like SJCL would do with ObjC?

도움이 되었습니까?

해결책

OS X and iOS both come with several frameworks which provide everything you need to do the same as SJCL: CommonCrypto/CommonCrypto.h and Security/Security.h to start with. From AES to PBKDF2, with SHA-1/2 or Base64 in between.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top