SymmetricKeySize

The sizes that a symmetric cryptographic key can take.

SymmetricKeys.swift:27
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
struct SymmetricKeySize

When creating a new SymmetricKey instance with a call to its init(size:) initializer, you typically use one of the standard key sizes, like bits128, bits192, or bits256. When you need a key with a non-standard length, use the init(bitCount:) initializer to create a SymmetricKeySize instance with a custom bit count.