# Viewing Keys & Proof of Innocence

Not all users want total privacy some need transparency for regulators, institutions, or DAO governance.

Veilon balances both worlds through optional auditability.

#### <mark style="color:yellow;">View Keys:</mark>

* Users can generate read only keys to share selective visibility with auditors, partners, or platforms.
* No one can act on these keys they’re purely for observation.

#### <mark style="color:yellow;">Tools:</mark>

* Proof of source-of-funds
* Proof of reserves
* Compliance dashboards for enterprise users

```javascript
import crypto from 'crypto';

function generateViewingKey(userPrivateKey, salt) {
  return crypto.createHash('sha256').update(userPrivateKey + salt).digest('hex');
}

const viewingKey = generateViewingKey(myPrivateKey, randomSalt);
```
