0

I implemented the Symmetric encryption of access token using Android KeyStore, but where I must do encryption process

  • Repository class where I receive data from Remote.
  • View Model class after passing data from repo to view model.

Does encryption need to do in background ?

enter image description here

1 Answer 1

0

All your IO should be in a Repository, so by that logic, you should have logic to store/encrypt and retrieve/decrypt logic into your repository itself.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.