Initializerswift-crypto 3.12.2_CryptoExtras->Crypto
init(combined:)
AES_GCM_SIV.swift:141- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
init<D>(combined: D) throws where D : DataProtocol
init<D>(combined: D) throws where D : DataProtocol
s6Crypto3AESO3GCMO01_A6ExtrasE4_SIVO9SealedBoxV8combinedAJx_tKc20FoundationEssentials12DataProtocolRzlufc
What are these?5X4SC
import Crypto
A cryptography library for Swift.
import _CryptoExtras
Provides additional cryptographic APIs that are not available in CryptoKit (and therefore the core Crypto library).
struct SealedBox
enum AES
A container for Advanced Encryption Standard (AES) ciphers.
enum GCM
The Advanced Encryption Standard (AES) Galois Counter Mode (GCM) cipher suite.
enum _SIV
AES in GCM SIV mode with 128-bit tags.
protocol DataProtocol : RandomAccessCollection where Self.Element == UInt8, Self.SubSequence : DataProtocol
init<C, T>(nonce: AES.GCM._SIV.Nonce, ciphertext: C, tag: T) throws where C : DataProtocol, T : DataProtocol
var ciphertext: Data { get }
The ciphertext
let combined: Data
The combined representation ( nonce || ciphertext || tag)
var nonce: AES.GCM._SIV.Nonce { get }
The Nonce
var tag: Data { get }
The authentication tag