Protocols
The following protocols are available globally.
-
To avoid accidental confusion if data is encrypted or not, this protocol can be used to indicate that a data object is encrypted. The actual encrypted bytes can be retrieved by accessing
See morebytes. In contrast toCiphertextclasses or structs deriving fromEncryptedDatacan contain additinal information such as a message authentication code et cetera.Declaration
Swift
public protocol EncryptedData
View on GitHub
Protocols Reference