# Privacy Technology

## Privacy-Preserving Smart Contract Introduction

Smart contract blockchains are typically public by default. This means that the ledger, the transactions, and the data contained in the smart contract are accessible to anyone. However, this is not the case with Secret Network as it’s the first blockchain that offers programmable privacy through privacy-preserving smart contracts (“Secret Contracts”). “Secret Contracts” have both public and private metadata. Private data on Secret Network is encrypted at input, state, and output and therefore never accessible to any nodes, developers, users, or everyone else.

#### Programmable Privacy

Programmable privacy is the ability to compute with private data while allowing for not only transfers (transactional privacy) but arbitrarily private complex computations. This allows developers to include sensitive data in their smart contracts without moving off-chain to centralized (and less secure) systems; allowing for truly private and scalable decentralized applications— the true vision of the decentralized web.

To achieve such programmable privacy, Secret Network uses a combination of techniques which will be explained in the further sections of this documentation.

<details>

<summary>Topics Covered</summary>

[Steps Of A Private Transactions](broken://pages/7g3yyuMvqlDuITccDDXI)

[Private Computation & Consensus Flow](/secret-network-documentation/introduction/secret-network-techstack/privacy-technology/private-computation-and-consensus-flow.md)

[Encryption - Key Management](/secret-network-documentation/introduction/secret-network-techstack/privacy-technology/encryption-key-management.md)

[Trusted Execution Environments (TEE) - Intel SGX](/secret-network-documentation/introduction/secret-network-techstack/privacy-technology/intel-sgx.md)

[Access Control](/secret-network-documentation/development/development-concepts/secret-contract-fundamentals/access-control.md)

[Plans Beyond SGX](broken://pages/KbjKxbHuzFhWPlTVSI3j)

[Theoretical Attacks](broken://pages/WrLwy34PZ6rptgzfBo65)

</details>

**Want to learn about Privacy for smart contracts and the Secret network techstack? Check out the following video series for an introduction:**

{% embed url="<https://www.youtube.com/watch?index=4&list=PLL1JDiTNCUAW_jGFyBjOFAzzTw3zKb3TM&v=SZkDLPxj2-c>" %}


---

# 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.scrt.network/secret-network-documentation/introduction/secret-network-techstack/privacy-technology.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.
