/** * Helper method to encrypt data using clientSecret as key * * @param $data * @return string */ public function encrypt($data) { return $this->cipher->encrypt($data); }