AEAD
The authenticated encryption with associated data (AEAD) algorithms to use in HPKE.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
enum AEAD
The authenticated encryption with associated data (AEAD) algorithms to use in HPKE.
enum AEAD
import Crypto
A cryptography library for Swift.
enum HPKE
A container for hybrid public key encryption (HPKE) operations.
case AES_GCM_128
An Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 128 bits.
case AES_GCM_256
An Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.
case chaChaPoly
A ChaCha20 stream cipher with the Poly1305 message authentication code.
case exportOnly
An export-only mode.
struct Ciphersuite
Cipher suites to use in hybrid public key encryption.
enum KDF
The key derivation functions to use in HPKE.
enum KEM
The key encapsulation mechanisms to use in HPKE.
enum DHKEM
A container for Diffie-Hellman key encapsulation mechanisms (KEMs).
enum Errors
Hybrid public key encryption (HPKE) errors that CryptoKit uses.
struct Recipient
A type that represents the receiving side of an HPKE message exchange.
struct Sender
A type that represents the sending side of an HPKE message exchange.
protocol CaseIterable
A type that provides a collection of all of its values.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.