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);
via Yuya Kawahara