Too Long; Didn't Read
This article shows how to build a simple landing page that encrypts private data. It uses Sodium crypto libraries, which are included as PHP extensions in 7.1, 7.2 and 7.3. We will build a very basic admin panel (for testing purposes only) with a feature that allows us to search for an email or a phone in the database, even if they are encrypted. The encryption keys should be stored at least on the web server, never on the database. The main problem is to check or search for those data, once they have been encrypted.