Instance Propertyswift-crypto 3.15.1_CryptoExtras->Crypto
ciphertext
The ciphertext
- iOS
- 13+
- macOS
- 10.15+
- Mac Catalyst
- 13+
- tvOS
- 13+
- visionOS
- 1.0+
- watchOS
- 6+
var ciphertext: Data { get }The ciphertext
var ciphertext: Data { get }s6Crypto3AESO3GCMO01_A6ExtrasE4_SIVO9SealedBoxV10ciphertext20FoundationEssentials4DataVvp What are these?3QZMKimport CryptoA cryptography library for Swift.
import _CryptoExtrasProvides additional cryptographic APIs that are not available in CryptoKit (and therefore the core Crypto library).
struct SealedBoxenum AESA container for Advanced Encryption Standard (AES) ciphers.
enum GCMThe Advanced Encryption Standard (AES) Galois Counter Mode (GCM) cipher suite.
enum _SIVAES in GCM SIV mode with 128-bit tags.
init<D>(combined: D) throws where D : DataProtocol init<C, T>(nonce: AES.GCM._SIV.Nonce, ciphertext: C, tag: T) throws where C : DataProtocol, T : DataProtocol let combined: DataThe combined representation ( nonce || ciphertext || tag)
var nonce: AES.GCM._SIV.Nonce { get }The Nonce
var tag: Data { get }The authentication tag