protected function validate_hex($data, array $attributes = []) { return ctype_xdigit($data) ? $data : ''; }