What would be the best way to encrypt and decrypt to and from a database please?

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 126
Joined: Tue Mar 01, 2016 3:07 pm

Thu Aug 09, 2018 10:36 am


I'm currently looking into encrypting text before it's written to a database.

And decrypting the data when the database is read.

I'm unsure the best way to do this, could anyone please advise?

Thank You.

php-forum Fan User
php-forum Fan User
Posts: 601
Joined: Fri Apr 01, 2016 2:18 am

Thu Aug 09, 2018 10:40 pm

the term "best" implies at least one property on which the rating could be applied.

Post Reply