Implements encryption-decryption layer for flat-file message store operations.
Details
Details
Modify AppDelegate so that on AppLaunch it encrypts and decrypts some text then assert they are equal.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
your diffs miss the prefixes in their titles ([native])
native/ios/Comm/TemporalMessageStorage/EncryptedFileUtils.mm | ||
---|---|---|
75 ↗ | (On Diff #13908) | newline |
native/ios/Comm/TemporalMessageStorage/EncryptedFileUtils.mm | ||
---|---|---|
16–17 ↗ | (On Diff #13908) | All methods in this class are static (or "type methods" speaking more Obj-C language), so we can't use self here. I decided to go with type methods since I don't see how to naturally introduce state for this class. |
native/ios/Comm/TemporalMessageStorage/EncryptedFileUtils.mm | ||
---|---|---|
16–17 ↗ | (On Diff #13908) | Ok, that makes sense! |
native/ios/Comm/TemporalMessageStorage/EncryptedFileUtils.mm | ||
---|---|---|
61 ↗ | (On Diff #13908) | Length of the buffer might change during encryption/decryption process |