CryptoProvider
public class CryptoProvider : Ciphering
Undocumented
-
Undocumented
Declaration
Swift
public init(with data: Data, nonce: AES.GCM.Nonce? = nil, tag: Data)
-
Undocumented
Declaration
Swift
public init(with size: SymmetricKeySize, nonce: AES.GCM.Nonce? = nil, tag: Data)
-
Undocumented
Declaration
Swift
public init(with key: SymmetricKey, nonce: AES.GCM.Nonce? = nil, tag: Data)
-
Declaration
Swift
public func encrypt(data: Data) throws -> Data
-
Declaration
Swift
public func decrypt(data: Data) throws -> Data