mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 02:45:19 +00:00
15 lines
335 B
Swift
15 lines
335 B
Swift
//
|
|
// SecureMemoryCleaner.swift
|
|
// bitchat
|
|
//
|
|
// This is free and unencumbered software released into the public domain.
|
|
// For more information, see <https://unlicense.org>
|
|
//
|
|
|
|
import struct Foundation.Data
|
|
|
|
public protocol SecureMemoryCleaner {
|
|
func secureClear(_ data: inout Data)
|
|
func secureClear(_ string: inout String)
|
|
}
|