Create a trait providing encryption and decryption of model fields on the fly. Possibly use laravel's built in crypto. This could be useful for encrypting fields in users table like "email"? Peers and Clients table like "IP".
The encrypted value stored would be based off the UNIT3D APP_KEY, generated at install, using the algorithm defined in the config/app.php cipher setting. If the application key is changed or lost during production there would be no way to retrieve the data. This is the case if were to use built in Crypto.
Create a trait providing encryption and decryption of model fields on the fly. Possibly use laravel's built in crypto. This could be useful for encrypting fields in users table like "email"? Peers and Clients table like "IP".
The encrypted value stored would be based off the UNIT3D APP_KEY, generated at install, using the algorithm defined in the config/app.php cipher setting. If the application key is changed or lost during production there would be no way to retrieve the data. This is the case if were to use built in Crypto.