paint-brush
How To Store Encrypted Data Collected By Your Web Application With PHP7 and LibSodiumby@simone-ricci
2,190 reads
2,190 reads

How To Store Encrypted Data Collected By Your Web Application With PHP7 and LibSodium

by simone ricci11mNovember 8th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.

Company Mentioned

Mention Thumbnail
featured image - How To Store Encrypted Data Collected By Your Web Application With PHP7 and LibSodium
simone ricci HackerNoon profile picture
simone ricci

simone ricci

@simone-ricci

lamorbidamacchina.com

Learn More
LEARN MORE ABOUT @SIMONE-RICCI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

simone ricci HackerNoon profile picture
simone ricci@simone-ricci
lamorbidamacchina.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite