3

Does anyone know of an iOS library that allows us to encrypt using AES128 CFB mode with not padding. Looks like commoncrypto does not support this .

Thanks

mjouni
  • 118
  • 10
  • I have made a code that can help to encrypt AES128 bit with CFB mode & no padding http://stackoverflow.com/questions/36997088/i-want-to-create-aes-128-using-cfb-encryption-with-no-padding-in-objective-c/37019462#37019462 – Girijesh Kumar May 04 '16 at 05:55

1 Answers1

1

I'd suggest pushing OpenSSL into your project, if possible. A quick search for "ios openssl" returns a first hit for Easy inclusion of OpenSSL into iOS projects. See also AES interoperability between .Net and iPhone?

Beware that without padding, you'll need to feed the cipher blocks of the correct size.

Community
  • 1
  • 1
Jeff Ferland
  • 17,832
  • 7
  • 46
  • 76