<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiAware",
  "identifier" : "/documentation/WiFiAware/WASharedSecret/DerivationMethod",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Wi-Fi Aware"
    ],
    "preciseIdentifier" : "s:9WiFiAware14WASharedSecretV16DerivationMethodV"
  },
  "title" : "WASharedSecret.DerivationMethod"
}
-->

# WASharedSecret.DerivationMethod

An enumeration of methods that can be used to derive a shared secret, as specified in the Wi-Fi Aware standard.

```
struct DerivationMethod
```

## Topics

### Type Properties

[`static let kdfHash256: WASharedSecret.DerivationMethod`](/documentation/WiFiAware/WASharedSecret/DerivationMethod/kdfHash256)

Derive a shared secret using the KDF-HASH-256 method defined in the WiFi Aware 5.0 draft standard.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)