mardi 14 juin 2016

AES CBC mode with CTS in Swift?


I've just started working on an iOS project in Swift and I need to encrypt and decrypt data using AES in CBC mode with CTS (ciphertext stealing). I've looked at CryptoSwift and RNCryptor but from what I can tell, neither of them support CTS. I also researched the Common Crypto library but it doesn't appear to support CTS, either. I think Crypto++ might be capable of it but I've had multiple people tell me that they had a tough time getting it working properly with Swift.

How can I get CBC with CTS to work for Swift?


Aucun commentaire:

Enregistrer un commentaire