# Playground

### Preview [#preview]

Once you're inside Quba app, you land directly in the playground
On the right side, you have a preset panel where you can switch between scan and anonymize mode, and a configuration panel specific to each mode for you to customize your settings and rules. On the left side, you have the input and output panels where you can see the results of your configuration in real time.

<video
  style="{
  width: "100%",
  maxWidth: "900px",
  borderRadius: "0.5rem",
  boxShadow: "0 0 20px rgba(0,0,0,0.1)",
}"
>
  <source src="/videos/playground.webm" type="video/webm" />

  Your browser does not support HTML5 video.{" "}
  <a href="/videos/playground.webm">Download the walkthrough video</a>.
</video>

### Scan text mode [#scan-text-mode]

In the scan mode, as you enter or paste text in the Quba playground text area, Quba scans the text, and you get the results immediately. You can add more entity types to scan, such as ID, insurance… depending on your needs

<video
  style="{
  width: "100%",
  maxWidth: "900px",
  borderRadius: "0.5rem",
  boxShadow: "0 0 20px rgba(0,0,0,0.1)",
}"
>
  <source src="/videos/scan.webm" type="video/webm" />

  Your browser does not support HTML5 video.{" "}
  <a href="/videos/scan.webm">Download the walkthrough video</a>.
</video>

### Anonymize text mode [#anonymize-text-mode]

On the right, switch to the anonymize model, where you can provide advanced anonymization rules to your data with model-based entities and regex entities based on your requirements. You can choose to mask, redact, replace, or hash different fields in your text, and see the results in real time.

<video
  style="{
  width: "100%",
  maxWidth: "900px",
  borderRadius: "0.5rem",
  boxShadow: "0 0 20px rgba(0,0,0,0.1)",
}"
>
  <source src="/videos/anonymize.webm" type="video/webm" />

  Your browser does not support HTML5 video.{" "}
  <a href="/videos/anonymize.webm">Download the walkthrough video</a>.
</video>

### Try one of the samples [#try-one-of-the-samples]

Quba also provides samples for you to try out. To populate the text with a sample, click load a sample, then select the sample to use.

<video
  style="{
  width: "100%",
  maxWidth: "900px",
  borderRadius: "0.5rem",
  boxShadow: "0 0 20px rgba(0,0,0,0.1)",
  marginTop: "1rem",
}"
>
  <source src="/videos/samples.webm" type="video/webm" />

  Your browser does not support HTML5 video.{" "}
  <a href="/videos/samples.webm">Download the sample walkthrough video</a>.
</video>

| Method      | What happens                             | Best for                                                    |
| ----------- | ---------------------------------------- | ----------------------------------------------------------- |
| **Mask**    | Value is hidden or obscured in place     | Logs, audit trails, internal review                         |
| **Redact**  | Value is removed entirely                | Legal documents, compliance exports                         |
| **Replace** | Swapped with a realistic synthetic value | AI training, testing, analytics                             |
| **SHA-256** | Irreversible hash of the value           | Data linking, de-duplication, pseudonymization              |
| **SHA-512** | Stronger irreversible hash               | High-security pseudonymization, data integrity verification |
