punchnet-macos/Tun/Cipher/CCDataCipher.swift
2026-05-21 14:39:41 +08:00

14 lines
234 B
Swift

//
// AESCipher.swift
// sdlan
//
// Created by on 2025/7/14.
//
import Foundation
public protocol CCDataCipher {
func decrypt(cipherText: Data) throws -> Data
func encrypt(plainText: Data) throws -> Data
}