Instance Methodswift-crypto 3.12.2CryptoBoringWrapper
open(combinedCiphertextAndTag:nonce:authenticatedData:)
An additional entry point for opening data where the ciphertext and the tag can be provided as one combined data . Covers the full gamut of types, including discontiguous data types. This must be inlinable.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
func open<Nonce, AuthenticatedData>(combinedCiphertextAndTag: Data, nonce: Nonce, authenticatedData: AuthenticatedData) throws -> Data where Nonce : ContiguousBytes, AuthenticatedData : DataProtocol