Post

Replies

Boosts

Views

Activity

Reply to Swift AES CBC 256 Encryption With Static 32bit Key and 32bit IV
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!
Topic: Privacy & Security SubTopic: General Tags:
May ’23
Reply to WidgetCenter.shared.reloadAllTimelines() only works when app is in the foreground
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?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Swift AES CBC 256 Encryption With Static 32bit Key and 32bit IV
Thank you for the provided helpers!
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to Swift AES CBC 256 Encryption With Static 32bit Key and 32bit IV
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!
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’23