Skip to content

How to use @UniqueEntity with encrypted data #88

Description

@mrshulk

My main question is, what is the best way to use @UniqueEntity with encrypted data, to avoid duplication data?

For example, when I persist an encrypted email in the database, each time the same email is used, a different random encrypted string is generated. Therefore, it’s not possible to check if that email already exists in the database.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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