simple-store icon indicating copy to clipboard operation
simple-store copied to clipboard

Support locally encrypted file storage

Open tyvsmith opened this issue 2 years ago • 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

tyvsmith avatar Jul 18 '23 22:07 tyvsmith

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.

kurtisnelson avatar Aug 04 '23 21:08 kurtisnelson

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

tyvsmith avatar Aug 05 '23 16:08 tyvsmith