title: Cakephp 3 : How to match md5 string in cakephp query ?
body: <p>I am sending a link like below </p>
  
  <pre><code>users/reset?token=0272dcff7439023e082204ac9fe9b96b
  </code></pre>
  
  <p>Where <code>token = user_email</code> </p>
  
  <p>In controller after get token, I am trying to match this string with database email field. </p>
  
  <p>I have tried by below code , but here query not working </p>
  
  <pre><code>public function search(){
    if($this-&gt;request-&gt;is(['post','get'])){
            $email   = $this-&gt;request-&gt;query('token');
            $query = $this-&gt;Users-&gt;find('all', [
                    'conditions' =&gt; [md5('Users.email') =&gt;$email],
                    'fields'     =&gt; ['email','username']
                   ]);
  
    }
  </code></pre>
  
  <p>How can I match this md5 or base_64 string with email field in cake query ?</p>