Skip to content

How we can encrypt key as well? #1

@Bajranghudda1

Description

@Bajranghudda1

You people are doing really great 👍
I was trying to put my secret using your library but I'm facing below problem-

         // Save preference
        KeystoreManager.getInstance().setPreference("key", "hello");

        // Get preference
        String preference = KeystoreManager.getInstance().getPreference("key");

the method setPreference() will save my key & value in encrypted format but the method getPreference() will convert the key first into in encrypted format and then will search in shared pref and it will not find any entry because Key's encryption is deferent.

Is there any help to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions