uber/simple-store

Support locally encrypted file storage

Opened this issue · 2 comments

SImple-store should support locally encrypted files to store contents like authorization tokens.

Can take inspiration from https://developer.android.com/reference/androidx/security/crypto/EncryptedSharedPreferences

It doesn't care what the payload is as long as it is a byte[], so no need for key management to be built in.

Yeah, using byte for storage makes sense. Tentatively, I'd expect a wrapper/util on top to facilitate easy to use APIs for consumers.