Replies: 2 comments
-
Managed to get this working with a different repo IDZSwiftCommonCrypto - although I suspect the main issue was that I was relying on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My company needs a mechanism to stream data to local file storage, encrypting the data as it comes in (data comes in sporadically from several different sources over time). I took a stab at implementing this here: AESEncryptedFile.swift
The goal is basically to have something similar to the AndroidX EncryptedFile API, which is a turn-key solution for encrypting data via streams.
However, my above implementation is failing in the unit test I wrote because the data seems to be either getting cut off, or is all NULL bytes.
Any help to fix would be greatly appreciated, and if this looks like a good addition I'll happily open a PR for it.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions