init(nonce:ciphertext:tag:)
Creates a sealed box from the given tag, nonce, and ciphertext.
Declaration
init<C, T>(nonce: AES.GCM.Nonce, ciphertext: C, tag: T) throws where C : DataProtocol, T : DataProtocolParameters
- nonce:
The nonce.
- ciphertext:
The encrypted data.
- tag:
The authentication tag.