---
title: sharedSecret
framework: cryptokit
role: symbol
role_heading: Instance Property
path: cryptokit/kem/encapsulationresult/sharedsecret
---

# sharedSecret

The shared secret.

## Declaration

```swift
let sharedSecret: SymmetricKey
```
