I had tried to do AES256 encryption in Swift3, by using many libraries like CryptoSwift, but couldnt get proper result.
let aes = try AES(key: anykey, iv: "") let ciphertext = try aes.encrypt(data) The mode I want to try is as below.
Algorithm: Rijndael-256 MODE: ECB IV: NULL if there is mistake in my code, or any better way to AES256 encrypt in Swift3, answer me please.