update($uid, $data); } public function passwordhash($password = null) { return hash( 'ripemd160', $password . $this->config->item('encryption_key') ); } protected function timestamps($ecard) { $ecard['created_at'] = $ecard['updated_at'] = date('Y-m-d H:i:s'); return $ecard; } }