Security with zetpack
Encryptedfile
- FlieInputStream / FileOutputStream의 사용자 구현을 지원. AEAD(Streaming Authenticated Encrption with Associated Data)를 지원해 안전한 스트리밍 읽기 / 쓰기 보장
EncryptedSharedPreferences
- SharedPreferences 클래스의 wrapper. Sp에 저장된 키와 값의 자동 암호화 제공.
- AES-256 사용
KeyStore
- 데이터 암호화 및 해독에 사용되는 기본 master키 사용.
With Samples
- 전통적으로, 암호화 되지 않은 sp를 사용하면 유출 될 수 있음.
- 아래는 샘플
https://github.com/Burak-Tasci/TokenManager
Uploaded by N2T