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
IChaps
New php-forum User
New php-forum User
Posts: 121
Joined: Tue Mar 01, 2016 3:07 pm

Thu Aug 09, 2018 10:36 am

Hello.

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.

chorn
php-forum Fan User
php-forum Fan User
Posts: 562
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