Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top