Encryption
2 exercises work on this concept, by writing code in the browser.
In Practice
- Finding a patient by an encrypted email address #[BlindIndexed]: a keyed fingerprint, filled on flush, makes an encrypted column searchable when no WHERE can find it.
- Encrypting the sensitive columns of an entity #[Encrypted]: Doctrine encrypts a column before writing it and decrypts it when reading, with no custom type or listener.