如何提取附加在网址上的加密电子邮件地址?

I am trying to pull out an encrypted email I attached to the end of a url.

I want to get the encrypted email, decrypt it and look for the record which has the same email and pull an id from that table and insert it into another table.

    $password = "hogehoge";
    $gethex = hex2bin($hex);
    $decrypt = openssl_decrypt($gethex, 'aes-256-ecb', $password);
    $user = $this->userinfo->getUserEmail($decrypt);

Get all request parameters in laravel.

use Input;

$params = Input::all();