I want to encrypt data fields of user table and i don't want to break the the laravel default Auth functionality.
I want something like this
DB::table('client')->insertGetId(
array(
'name' =>DB::raw("AES_ENCRYPT('".$data['name']."', '".env('DB_ENCRYP_KEY')."')"),
'email' => DB::raw("AES_ENCRYPT('".$data['email']."', '".env('DB_ENCRYP_KEY')."')"),
'password' => DB::raw("AES_ENCRYPT('".$data['password']."', '".env('DB_ENCRYP_KEY')."')")
)
);
want to use ASE_ENCRYPT in query level. I just need to know where can i find the raw MySQL query for Laravel authentication module. So i can change those query like this. what is the file name ?