public function createNewToken($email) { $value = str_shuffle(sha1($email . spl_object_hash($this) . microtime(true))); return hash_hmac('sha256', $value, Config::get('app.key')); }