4

Can someone point me to an implementation of PBKDF2 using HMAC-SHA256 to generate a key, in Objective-C. This is part of the key generation process that I will later use for AES-CBC-Pad encryption.

Thanks in advance

Shiun
  • 2,677
  • 1
  • 20
  • 20
  • This is a duplication of http://stackoverflow.com/questions/5526853/how-to-create-pbkdf2-key-on-ios-device – Oded Regev Jan 19 '12 at 12:31
  • I asked my question long before his. So he really duplicated mine. But yes, his question does offer more answers. – Shiun Jan 19 '12 at 18:40
  • Everything you need is in the CommonCrypto framework although you might have to hunt around. The documentation isn't great. – Mike Weller Jun 01 '12 at 12:56

1 Answers1

4

You can just simply borrow C implementation from OpenSSL or any other library.

Nickolay Olshevsky
  • 13,706
  • 1
  • 34
  • 48