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