CryptoProvider

public class CryptoProvider : Ciphering

Undocumented

  • key

    Undocumented

    Declaration

    Swift

    public var key: SymmetricKey { get }
  • 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