# How is Shamir Secret Sharing implemented within Cypherock X1

The X1 Vault implementation of SSS follows the original concepts and thus essentially is a secret sharing algorithm that operates on each byte of original data (treated as secret in the algorithm) and splits it into N number of parts of each byte.

The sharing scheme that is used in X1 Vault is (2, 5)-threshold scheme or 2-of-5 sharing scheme, wherein, any two of the cryptographic parts from the 5 generated parts can be used to retrieve the original data (or secret).

To read a complete explanation of Shamir's Secret Sharing application within Cypherock X1, navigate to Cypherock's [github page](https://github.com/Cypherock/x1_wallet_firmware/blob/main/docs/shamir_secret_sharing.md).&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cypherock.com/design-decisions/using-shamir-secret-sharing-vs.-multi-sig/how-is-shamir-secret-sharing-implemented-within-cypherock-x1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
