Hi, @eskimo! I'm trying do decrypt some data using AES CBC.
I found your swift wrapper around CommonCrypto’s AES CBC support. However I'm struggling to convert my key, iv to [UInt8] format:
I have:
var encKey = "686d5e547e2d91f523878ba0bf344157"
var cyphertext = "bad44962ac98600d00005ae917f1"
var IV = "B43522F2228CD2FC41600D0000"
var bytesKey = encKey. how to covert it
var bytesCyphertext = cyphertext. how to covert it
var bytesIV = IV. how to covert it
let plaintext = try? QCCAESPadCBCDecrypt(key: bytesKey, iv: bytesIV, cyphertext: bytesCyphertext)
So I'm trying to use your QCCAESPadCBCDecrypt example function and I need to convert these strings to [UInt8].
Thank you very much for the example above!
Post
Replies
Boosts
Views
Activity
Thank you for the provided helpers!
It's sad 3 years later I face the same issue in iOS 17 - WidgetCenter.shared.reloadAllTimelines() works only on foreground (or when running the app from Xcode). Does anyone found a workaround?