Hacker News new | past | comments | ask | show | jobs | submit login

Deprecated in favor of what? This post talks about a compatibility layer between app source code and OpenSSL.



Common Crypto contains functions for

• Hashing: MD5, SHA1, SHA2

• HMAC (hash based message authentication) http://en.wikipedia.org/wiki/Hash-based_message_authenticati...

• PBKDF2 (password to key) http://en.wikipedia.org/wiki/PBKDF2

• Symmetric Encryption: AES, DES, 3DES, CAST, RC4, RC2, and Blowfish. (The algorithm selection is poorly documented in the man pages, I'm reading source here.)

It has an API that would not surprise anyone who has used a similar library.

It is open source, APSL 2.0. You can read it here: http://www.opensource.apple.com/source/CommonCrypto/


It's only deprecated in the sense that Apple are no longer going to supply it. You can either switch to CommonCrypto (if it's appropriate) or bring your own OpenSSL.


See WWDC 2011 session 212 slide 50.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: