<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEVPNIKEv2EncryptionAlgorithm",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:@E@NEVPNIKEv2EncryptionAlgorithm"
  },
  "title" : "NEVPNIKEv2EncryptionAlgorithm"
}
-->

# NEVPNIKEv2EncryptionAlgorithm

An enumeration of encryption algorithm values.

```
enum NEVPNIKEv2EncryptionAlgorithm
```

## Topics

### Encryption algorithms

[`NEVPNIKEv2EncryptionAlgorithmAES128`](/documentation/NetworkExtension/NEVPNIKEv2EncryptionAlgorithm/algorithmAES128)

Advanced Encryption Standard 256-bit (AES256).

[`NEVPNIKEv2EncryptionAlgorithmAES256`](/documentation/NetworkExtension/NEVPNIKEv2EncryptionAlgorithm/algorithmAES256)

Advanced Encryption Standard 256 bit (AES256).

[`NEVPNIKEv2EncryptionAlgorithmAES128GCM`](/documentation/NetworkExtension/NEVPNIKEv2EncryptionAlgorithm/algorithmAES128GCM)

Advanced Encryption Standard 128-bit Galois/Counter Mode (AES128GCM).

[`NEVPNIKEv2EncryptionAlgorithmAES256GCM`](/documentation/NetworkExtension/NEVPNIKEv2EncryptionAlgorithm/algorithmAES256GCM)

Advanced Encryption Standard 256-bit Galois/Counter Mode (AES256GCM).

[`NEVPNIKEv2EncryptionAlgorithmChaCha20Poly1305`](/documentation/NetworkExtension/NEVPNIKEv2EncryptionAlgorithm/algorithmChaCha20Poly1305)

ChaCha20 and Poly1305 (ChaCha20Poly1305).

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)