Instance Propertyswift-crypto 3.8.0Crypto
nonce
The nonce used to encrypt the data.
AES-GCM.swift:127var nonce: AES.GCM.Nonce { get }
Other members in extension
Type members
init<D>(combined: D
) throws Creates a sealed box from the combined bytes of an authentication tag, nonce, and encrypted data.
init<C, T>(nonce: AES.GCM.Nonce, ciphertext: C, tag: T
) throws Creates a sealed box from the given tag, nonce, and ciphertext.
Instance members
var ciphertext: Data
The encrypted data.
var combined: Data?
A combined element composed of the nonce, encrypted data, and authentication tag.
var tag: Data
An authentication tag.