Skip to content

How to use @UniqueEntity with encrypted data #88

@mrshulk

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

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