Skip to content

Feature request: public key encryption #57

@westracer

Description

@westracer

Hi.

I'd like to see a counterpart to the "decrypt" function in this package. I understand that for a normal use case of this package, the server is supposed to encrypt the data by the client's public key and send it back, but, for my use case, I'd like to encrypt some data directly on the client, that data would stay on the client without transferring it anywhere (e.g. in shared prefs), and later, after the user is authenticated via biometrics to access the private key, the data would get decrypted.

Do you think it's reasonable to have that implemented in the package or not?

Thank you

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